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]); }
private void showMarkerPopup() { int[] coords = editor.getCursorCoords(); showMarkerPopup(coords[1]); }