Add a getLineOfOffset method in the SyntaxDocument (as it exists in the JEditor class) to get the line of an offset in the document
Call only one method when calling replaceText in the JEditor
Add a DefaultDiffEngine to get a not graphical diff between two texts
Add a setSyntax(String) method in the JEditor class
Fix the constructor of the CodeEditorDefaults using a CodeEditorDefaults as argument not initializing the input handler
Fix the constructor of the CodeEditorDefaults using a CodeEditorDefaults as argument using some colors and fonts as references
Fix the number of rows wrongly setting the height of the editor to one less row than necessary
Add the gutterExpandable property for the defaults
Change the showInContext method in the AbstractContextEditorPopup to pass the start and end of the selection
Add an insertText method to insert a text
Add a replaceText method to replace a text
Fix cases where JEditor.setText(String) would lead to an exception
Handle correctly the editor state for an undo or a redo
Add the samples in the source distribution
Fix some cases where copy from clipboard would not work
Add a method in the JEditor to update the defaults if the CodeEditorDefaults used for the JEditor has been modified
Add the BIND keyword in SPARQL
Recognize lower-case SPARQL keywords
Handle comments in SPARQL
Initialize the search text to the selected text if the CTRL-F Search option is called when selecting some text
Use docJGenerator 1.6.6.8
Add an abstract popup class which is aware of the line and column of the right-click
Fix the caret no being advanced, it is now correctly advanced when typing a character, adding a break, or adding a tab
Add the alternate name py for python scripts
Add a first version of the turtle syntax
Switch to git
Protect against an exception if the caret selection is invalid when trying to highlight text in the editor
Add alternate names for the javascript, c, batch, idl, sql, and xml syntaxes
Protect the SyntaxTokenizer (which returns a StyledDocument) against cases where a Segment length is less than the Token length, or the Token length is -1
The Diff algorithm is now able to perform a diff on a String using the full Diff algorithm
There is now two modes to show differences between lines: character by character or by performing a diff inside the line
Separate some internal classes used in the diff package
Use docJGenerator 1.5.3.3
Allow to show a diff between two text files with partial diffs between lines (differences within lines)
Fix some cases where a NPE could be thrown in cases where the parents container hierarchy have been modified and there are no internal scrollbars anymore
Add a handleChangeWidth method in the GutterHandler interface to be notified when the gutter width has changed
Fix the setGutterWidth method not changing the collapsed state of the Gutter
Fix the behavior of the JEditor component in scroll panes in some cases. There is still work to do to make it work in all cases
Add a setText(File) method to the JEditor
Add a method in the SyntaxMapper to get a syntax for a file
Add an EditorExceptionListener which allows the JEditor to fire these specific listeners when encountering an exception
Add a removeHighlight method in the CodeEditorHighlighter class
Improve wiki
Remove the testutils xml files from the Jar files which were added by mistake. Note for users of the previous version: this had no effect on the functionality of the library.
Add the gvy, gy, and gsh extensions for groovy scripts
Fix the possible extensions for fortran files
Add the cc and hpp extensions for C++ files
Use docJGenerator 1.4.16.1
Add easy access to undo/redo in the JEditor
Add the undo and redo buttons in the JAppEditor