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

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

c++ - Visual Leak Detector detects leak on new blank MFC project -

c# - Connection String Trouble MetaDataException -