Example #1
0
 private void showAddMarkerPopup(boolean notingEnabled, boolean lockingEnabled) {
   AddMarkerComponent am = new AddMarkerComponent(this, notingEnabled, lockingEnabled);
   String title = editor.getShadow().getText().substring(selMin, selMax);
   showPopup(title, am, editor.getCursorCoords()[1]);
 }
Example #2
0
 private void showMarkerPopup() {
   int[] coords = editor.getCursorCoords();
   showMarkerPopup(coords[1]);
 }