RSyntaxTextArea icon indicating copy to clipboard operation
RSyntaxTextArea copied to clipboard

Optionally skip creation of multiline block comment (CPP)

Open ffissore opened this issue 10 years ago • 1 comments

Some of our users are concerned about the automatic creation of a

/*
 *
 */

block when hitting return after /*. Is there a way to turn this completion off?

ffissore avatar Oct 28 '15 14:10 ffissore

Not currently, but this can be made into a new feature. This action currently lives in org.fife.ui.rsyntaxtextarea.AbstractJFlexCTokenMaker. insertBreakInMLC would have to be conditionally called, depending on whether or not this feature is desired.

This will of course affect all C-style languages subclassing AbstractJFlexCTokenMaker, but there's no way around that without more involved code changes.

bobbylight avatar Jun 06 '16 02:06 bobbylight