java - Any alternate to RSyntaxTextArea in Javafx? -


i working on code editor java used in parallel computing , distributed computing. i'm looking alternate rsyntaxtextarea in javafx, bcz tried implement in javafx , not working well, half of text area doesn't show , cursor lags in text area.

tab texttab = new tab("sample tab"); rsyntaxtextarea ta= new rsyntaxtextarea(); swingnode sn = new swingnode();  string text=""; ta.settext(text); ta.setsyntaxeditingstyle(syntaxconstants.syntax_style_java); ta.setantialiasingenabled(true); ta.setcodefoldingenabled(true);    rtextscrollpane sp = new rtextscrollpane(ta);   sn.setcontent(sp);   texttab.setcontent(sn); 

i newbie in javafx, don't know how fix these issues. doesn't match beauty of javafx.

try codearea (or more styleclassedtextarea) component tomas mikula's richtextfx framework.


Comments

Popular posts from this blog

C# random value from dictionary and tuple -

cgi - How do I interpret URLs without extension as files rather than missing directories in nginx? -

.htaccess - htaccess convert request to clean url and add slash at the end of the url -