mirror of
https://github.com/chylex/IntelliJ-IdeaVim.git
synced 2025-02-26 14:46:00 +01:00
Putting text that was yanked from the last line didn't always have the newline inserted.
This commit is contained in:
parent
6081d7cff5
commit
297c05041d
@ -1,7 +1,6 @@
|
||||
Bugs to fix:
|
||||
|
||||
- Replace mode - fix cursor. Can't figure out how to keep block cursor.
|
||||
- Yanking/putting on last line of file not quite right.
|
||||
- Repeating (via .) the O command affects prior line of text.
|
||||
|
||||
Requested Functionality to add:
|
||||
|
@ -130,6 +130,11 @@ public class RegisterGroup extends AbstractActionGroup
|
||||
end = t;
|
||||
}
|
||||
|
||||
if (type == Command.FLAG_MOT_LINEWISE && text.length() > 0 && text.charAt(text.length() - 1) != '\n')
|
||||
{
|
||||
text = text + '\n';
|
||||
}
|
||||
|
||||
// If this is an uppercase register, we need to append the text to the corresponding lowercase register
|
||||
if (Character.isUpperCase(register))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user