use of com.maddyhome.idea.vim.common.Mark in project ideavim by JetBrains.
the class MarkTest method testGlobalMark.
// |m|
public void testGlobalMark() {
typeTextInFile(parseKeys("mG"), " foo\n" + " ba<caret>r\n" + " baz\n");
Mark mark = VimPlugin.getMark().getMark(myFixture.getEditor(), 'G');
assertNotNull(mark);
assertEquals(1, mark.getLogicalLine());
assertEquals(6, mark.getCol());
}
Aggregations