Tomas, Very nice work! :-)
The first step in the process to contribute features / bug fixes back into OpenJFX is to create a Jira issue (or find one that covers the topic). In the case of styled text ranges I don't believe a Jira issue exists, so feel free to open a new issue. This will be the way we can see what is popular and still outstanding in JavaFX, and of course discuss details. I'm not clear on how closely your approach is related to Tom's, but perhaps there is sufficient overlap there that you can collaborate. This may help to improve your API and implementation prior to it being considered for integration into OpenJFX, and will of course help to prevent duplication of effort. Keep up the great work and be sure to keep me in the loop of your progress :-) -- Jonathan On 8/10/2013 2:48 a.m., Tomas Mikula wrote: > Hi all, > > I implemented a text control that supports assigning style classes to > portions of text. It is meant to be used for syntax highlighting. > > https://github.com/TomasMikula/CodeAreaFX > > The code is based on the original TextArea code. This implies the > license to be GPLv2 with the Classpath Exception. I would be happy to > contribute it back to the OpenJFX project. > The idea of using a ListView of TextFlows is borrowed from Tom > Schindl's StyledTextArea > (http://fxexperience.com/2013/02/interview-with-tom-schindl-2/). > > Check out the demos and the APIs. Feedback really appreciated. Any > help with the issues > (https://github.com/TomasMikula/CodeAreaFX/wiki/Known-Issues) would be > awesome. > > Best, > Tomas
