Hi Junichi,
yes, thank You, that helped a lot, since I've been on the wrong trail -
locked for sth. to fix in the area of the lexer. I'm not yet used to the
Javac adoption by netbeans lexing and parsing logic.
Kind regards
Peter
Am 11.07.2018 um 13:02 schrieb Junichi Yamamoto:
e.g.
htt
e.g.
https://github.com/OldGrumble/NBWicketSupport/blob/e846cdd2f949af4e78433d4e74ba427453a96546/src/main/java/org/netbeans/modules/web/wicket/tree/HtmlTreeBuilder.java#L53
AbstractDocument ad = (AbstractDocument) doc;
ad.readLock();
try {
TokenHierarchy th = TokenHierarchy.get(ad);
// so
Take a look at some of the tutorials that make use of those kinds of
classes, e.g., this one:
https://platform.netbeans.org/tutorials/nbm-hyperlink.html
https://platform.netbeans.org/tutorials/nbm-javacc-parser.html
http://bits.netbeans.org/dev/javadoc/org-netbeans-modules-lexer/architecture-sum
Hello,
I'm -still looking through some parts of the code, while extending the
module otherwise. I just found this trace in the log/output window,
which I probably just didn't notice before (because a bunch of other
logging messages follows):
INFO [org.netbeans.spi.lexer.MutableTextInput]: