mirror of
https://github.com/chylex/IntelliJ-IdeaVim.git
synced 2025-05-25 09:34:08 +02:00
Added getMarks
This commit is contained in:
parent
76c7091d8c
commit
6f256102f8
@ -201,6 +201,18 @@ public class MarkGroup extends AbstractActionGroup
|
|||||||
return true;
|
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
|
* Gets the map of marks for the specified file
|
||||||
* @param editor The editor to get the marks for
|
* @param editor The editor to get the marks for
|
||||||
|
Loading…
Reference in New Issue
Block a user