Documentation

Trace:

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision Both sides next revision
applications:external_editor [2018/02/20 11:23]
admin
applications:external_editor [2018/02/20 11:24]
admin
Line 8: Line 8:
 The integration is super simple: The integration is super simple:
 <file java> <file java>
-panStylesheets.add(new ExternalEditor(new TextEditorComponent(sp, textArea), ​idbWebSettings, "​CSS"​));​+panStylesheets.add(new ExternalEditor(new TextEditorComponent(spArea, textArea), ​dataBook, "​CSS"​));​
 </​file>​ </​file>​
-and the creation of the textArea is as recommended:+ 
 +The **ExternalEditor** will be bound to a data book and a specific column, like any other cell editor. 
 + 
 + 
 +The creation of the textArea is not tricky:
 <file java> <file java>
 RSyntaxTextArea textArea = new RSyntaxTextArea(20,​ 60); RSyntaxTextArea textArea = new RSyntaxTextArea(20,​ 60);
Line 29: Line 33:
  
 <file java> <file java>
-panStylesheets.add(new ExternalEditor(new TextEditorComponent(spArea, ​textArea), dataBook"​CSS"​));+RTextScrollPane spArea = new RTextScrollPane(textArea, ​true);
 </​file>​ </​file>​
- 
-The **ExternalEditor** will be bound to a data book and a specific column, like any other cell editor. 
  
 And the theme for syntax highlighting:​ And the theme for syntax highlighting:​
This website uses cookies for visitor traffic analysis. By using the website, you agree with storing the cookies on your computer.More information