Re: Re: Embedded Language Question

2023-01-09 Thread Eric Bresie
Not sure if this helps but here is wiki page in adding new languages that may 
help.

https://cwiki.apache.org/confluence/plugins/servlet/mobile?contentId=173084490#content/view/173084490

Eric Bresie
ebre...@gmail.com (mailto:ebre...@gmail.com)

> On January 9, 2023 at 1:01:13 AM CST, Michael Bien  (mailto:mbie...@gmail.com)> wrote:
> this might be of interest for some here:
> https://github.com/apache/netbeans/pull/4885
>
> dependent on the usecase this might be a quick && elegant way to embed
> other languages.
>
> -mbien
>
> On 08.01.23 21:59 (x-apple-data-detectors://5), Oliver Rettig wrote:
> > Hi,
> >
> > I am also interested in such functionality to put code written in our DSLs
> > into java source code. In the meantime we put the code in extra files with
> > specific filesuffix and use the netbeans api for syntax highlighting etc.
> >
> > best regards
> > Oliver
> >
> > > Hi,
> > > I have got a question regarding the embedded language support of Netbeans.
> > >
> > >
> > > If I write my own grammer/dsl with JavaCC and my language contains a
> > > specific tag that marks the beginning and ending of an embedded language,
> > > lets say Java, does Netbeans automatically take Lexer, Parsers,
> > > CodeCompletion etc. from the embedded language?
> > >
> > >
> > > What I found out is that there are two possibilities. The first uses the 
> > > xml
> > > file for defining the start/end tag. The second way is the programmatical
> > > approach, I think using the Lexer class. Does anyone of you know a short
> > > example for both strategies? Are there any tutorials available? I would
> > > specially be interested in the xml approach Thanks.
> > >
> > >
> > > Gesendet vonOutlook für iOS
> > > -
> > > To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org 
> > > (mailto:users-unsubscr...@netbeans.apache.org)
> > > For additional commands, e-mail: users-h...@netbeans.apache.org 
> > > (mailto:users-h...@netbeans.apache.org)
> > >
> > > For further information about the NetBeans mailing lists, visit:
> > > https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
> >
> >
> >
> >
> > -
> > To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org 
> > (mailto:users-unsubscr...@netbeans.apache.org)
> > For additional commands, e-mail: users-h...@netbeans.apache.org 
> > (mailto:users-h...@netbeans.apache.org)
> >
> > For further information about the NetBeans mailing lists, visit:
> > https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
> >
>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org 
> (mailto:users-unsubscr...@netbeans.apache.org)
> For additional commands, e-mail: users-h...@netbeans.apache.org 
> (mailto:users-h...@netbeans.apache.org)
>
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>


Can't paste on Apache NetBeans IDE 16

2023-01-09 Thread Zulfi Khan
Hi,
I copied  text from my ANT project and pasted it on the same window but it does 
not paste. I also tried to copy from text Editor and Libre Office Editor but 
pasting is not working. I am working on Ubuntu 18.04. Somebody please guide me.
Zulfi.


Re: font for accented characters

2023-01-09 Thread Mark Eggers

Hi Chris,

A quick question:

1. Is your file encoding UTF-8?

At least for NetBeans 15, the configuration file is located in wherever 
you installed NetBeans\etc. It's called netbeans.conf.


In my netbeans.conf, I've added  -J-Dfile.encoding=UTF-8 to 
netbeans_default_options.


I haven't tried this with NetBeans 16 yet (upgrade today most likely), 
but several people at $work have used prior versions of NetBeans and 
have added characters with diacritics.


Using the Character Map and copying the result into a text file worked 
on NetBeans 15. An acute accent e showed up in a text file, was saved, 
opened, and the diacritic was displayed properly.


The character showed up properly in other UTF-8 aware editors.

. . . just my two cents
/mde/

On 1/9/2023 10:32 AM, Christopher C. Lanz wrote:

Hello,

I am trying to use Latin vowels with macrons in Netbeans 16 in Windows 10. My 
searches in such places as StackOverflow have yielded advice, but I have yet to 
find the right thing.

One possibility mentioned is just to switch to a font that supports accented 
characters, such as 'e' with accent grave - does anyone know which fonts I 
should try?

Another set of advice suggests changing the netbeans.conf file, but it has 
moved since the advice I found was written. How do I get to it in Windows? I am 
also unable to find the default_options file.  ??

Thanks


Chris Lanz

340 Dunn Hall, SUNY Potsdam

lan...@potsdam.edu

315 268 1547







-
To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
For additional commands, e-mail: users-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



font for accented characters

2023-01-09 Thread Christopher C. Lanz
Hello,

I am trying to use Latin vowels with macrons in Netbeans 16 in Windows 10. My 
searches in such places as StackOverflow have yielded advice, but I have yet to 
find the right thing.

One possibility mentioned is just to switch to a font that supports accented 
characters, such as 'e' with accent grave - does anyone know which fonts I 
should try?

Another set of advice suggests changing the netbeans.conf file, but it has 
moved since the advice I found was written. How do I get to it in Windows? I am 
also unable to find the default_options file.  ??

Thanks


Chris Lanz

340 Dunn Hall, SUNY Potsdam

lan...@potsdam.edu

315 268 1547