1
0
mirror of https://github.com/chylex/IntelliJ-IdeaVim.git synced 2025-05-04 16:34:02 +02:00

Added getMarks

This commit is contained in:
rmaddy 2003-04-22 18:14:46 +00:00
parent 76c7091d8c
commit 6f256102f8

View File

@ -201,6 +201,18 @@ public class MarkGroup extends AbstractActionGroup
return true;
}
public List getMarks(Editor editor)
{
ArrayList res = new ArrayList();
res.addAll(getFileMarks(editor).values());
res.addAll(globalMarks.values());
Collections.sort(res, new Mark.KeySorter());
return res;
}
/**
* Gets the map of marks for the specified file
* @param editor The editor to get the marks for