mirror of
https://github.com/chylex/IntelliJ-IdeaVim.git
synced 2025-04-16 02:15:43 +02:00
Fixed normalizeColumn
This commit is contained in:
parent
45921c7bcf
commit
8d461e62e4
@ -300,7 +300,7 @@ public class EditorHelper
|
||||
*/
|
||||
public static int normalizeColumn(Editor editor, int lline, int col)
|
||||
{
|
||||
col = Math.min(Math.max(0, col), getLineLength(editor, lline) - 1);
|
||||
col = Math.min(Math.max(0, getLineLength(editor, lline) - 1), col);
|
||||
|
||||
return col;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user