MCPcopy Create free account
hub / github.com/BaseXdb/basex / comment

Method comment

basex-core/src/main/java/org/basex/gui/text/TextPanel.java:293–297  ·  view source on GitHub ↗

Adds or removes a comment.

()

Source from the content-addressed store, hash-verified

291 * Adds or removes a comment.
292 */
293 public final void comment() {
294 final int caret = editor.pos();
295 if(editor.comment(rend.getSyntax())) hist.store(editor.text(), caret, editor.pos());
296 computeHeight.invokeLater(true);
297 }
298
299 /**
300 * Case conversion.

Callers 1

executeMethod · 0.45

Calls 5

getSyntaxMethod · 0.80
invokeLaterMethod · 0.80
posMethod · 0.45
storeMethod · 0.45
textMethod · 0.45

Tested by

no test coverage detected