Re: Certain characters cause exception when type in editor

Benno Markiewicz <[email protected]>
Newsgroups gmane.comp.java.netbeans.modules.openide.devel
Message-ID <CAA_aP4honFeFR+mP5_NLbasb+8gTmgNdmr-xWCQNps2FJ6_1jQ@mail.gmail.com>
Check the other r-plugin how they do it there
https://blogs.oracle.com/geertjan/entry/r_plugin_for_netbeans_ide1

Den 25 nov. 2016 22:33 skrev <[email protected]>:

> Greetings,
>
> I have been working on a module suite as a project for school that
> enables writing R programs in NetBeans. The following characters cause
> a NullPointerException when typed in the editor with the plugin
> running: ' " _ . % \
>
> I used ANTLR4 version 4.5.3 and the R.g4 and RFilter.g4 grammar files
> from ANTLR's GitHub site to generate the lexer and parser.
>
> I can cut and paste R code from an external file and execute the code
> from NetBeans without issue.
>
> I suspect the issue may be caused by the grammar file(s) or the
> generated lexer, but I'm not sure where to start. Any guidance
> appreciated.
>
> Respectfully,
>
> Steve
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.