Thread overview | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
September 01, 2004 D syntax highlighting in jEdit | ||||
---|---|---|---|---|
| ||||
jEdit 4.2 was recently released (www.jedit.org) with built in D syntax highlighting. |
September 01, 2004 Re: D syntax highlighting in jEdit | ||||
---|---|---|---|---|
| ||||
Posted in reply to Clint Olson | "Clint Olson" <Nobody@Nowhere.com> wrote in message news:ch52ld$2fh1$1@digitaldaemon.com... > jEdit 4.2 was recently released (www.jedit.org) with built in D syntax > highlighting. Thanks! On your page http://www.jedit.org/index.php?page=features, can you replace the letter "D" with <a href="http://www.digitalmars.com/d/" title="The D Programming Language">D</a> ? |
September 01, 2004 Re: D syntax highlighting in jEdit | ||||
---|---|---|---|---|
| ||||
Posted in reply to Walter | Walter wrote:
> "Clint Olson" <Nobody@Nowhere.com> wrote in message
> news:ch52ld$2fh1$1@digitaldaemon.com...
>
>>jEdit 4.2 was recently released (www.jedit.org) with built in D syntax
>>highlighting.
>
>
> Thanks! On your page http://www.jedit.org/index.php?page=features, can you
> replace the letter "D" with <a href="http://www.digitalmars.com/d/"
> title="The D Programming Language">D</a> ?
>
>
Sorry, not my page, I'm just a happy user.
But I can pass along the request.
|
September 02, 2004 Re: D syntax highlighting in jEdit | ||||
---|---|---|---|---|
| ||||
Posted in reply to Clint Olson | "Clint Olson" <Nobody@Nowhere.com> wrote in message news:ch567l$2h9m$1@digitaldaemon.com... > Sorry, not my page, I'm just a happy user. > > But I can pass along the request. Thanks! |
September 02, 2004 Re: D syntax highlighting in jEdit | ||||
---|---|---|---|---|
| ||||
Posted in reply to Clint Olson | All it does so far is syntax highlighting. It also delegates to the Doxygen mode if you embed Doxygen comments in your code (which I do), like the C and C++ modes also do now.
It hasn't gotten a huge amount of testing, but if anyone finds any bugs or has any ideas for improving it, please let me know.
On 09/01/2004 06:59 PM, Clint Olson wrote:
> jEdit 4.2 was recently released (www.jedit.org) with built in D syntax
> highlighting.
/regards/jim
|
September 02, 2004 Re: D syntax highlighting in jEdit | ||||
---|---|---|---|---|
| ||||
Posted in reply to Jim Lawton | When using "r" for Wysiwyg strings, the text after the first Wysiwyg string is still highlighted as if it were part of the first string, until the next quote. Example: writefln(r"c:\", r"d:\"); ^^^^^^^^^ highlighted Sorry if this is not the place for this post. Is there another forum this should go? -Kramer In article <ch6h7l$39f$2@digitaldaemon.com>, Jim Lawton says... > >All it does so far is syntax highlighting. It also delegates to the Doxygen mode if you embed Doxygen comments in your code (which I do), like the C and C++ modes also do now. > >It hasn't gotten a huge amount of testing, but if anyone finds any bugs or has any ideas for improving it, please let me know. > > >On 09/01/2004 06:59 PM, Clint Olson wrote: >> jEdit 4.2 was recently released (www.jedit.org) with built in D syntax >> highlighting. > >/regards/jim |
September 02, 2004 Re: D syntax highlighting in jEdit | ||||
---|---|---|---|---|
| ||||
Posted in reply to Kramer | In article <ch6j4l$4q0$1@digitaldaemon.com>, Kramer says... > >When using "r" for Wysiwyg strings, the text after the first Wysiwyg string is still highlighted as if it were part of the first string, until the next quote. > >Example: writefln(r"c:\", r"d:\"); >^^^^^^^^^ >highlighted Short answer: writefln(r"c:\\", r"d:\\"); Long answer: The backslash is in many cases considered as a "literal" character, which means that the next character is to be taken literally as part of the string. For example, \" means that the character " is supposed to be part of the string. In your case the resulting string is: c:", r and then the string ends (I guess your example didn't compile?). To use an actual backslash character as part ot the string, use \\ Nick |
September 02, 2004 Re: D syntax highlighting in jEdit | ||||
---|---|---|---|---|
| ||||
Posted in reply to Nick | Or maybe I've just misunderstood what a Wysiwyg string is... Nick In article <ch72d8$agf$1@digitaldaemon.com>, Nick says... > >In article <ch6j4l$4q0$1@digitaldaemon.com>, Kramer says... >> >>When using "r" for Wysiwyg strings, the text after the first Wysiwyg string is still highlighted as if it were part of the first string, until the next quote. >> >>Example: writefln(r"c:\", r"d:\"); >>^^^^^^^^^ >>highlighted > >Short answer: writefln(r"c:\\", r"d:\\"); > >Long answer: >The backslash is in many cases considered as a "literal" character, which means >that the next character is to be taken literally as part of the string. For >example, \" means that the character " is supposed to be part of the string. In >your case the resulting string is: >c:", r >and then the string ends (I guess your example didn't compile?). To use an >actual backslash character as part ot the string, use \\ > >Nick > > |
September 02, 2004 Re: D syntax highlighting in jEdit | ||||
---|---|---|---|---|
| ||||
Posted in reply to Jim Lawton | Jim Lawton wrote: > All it does so far is syntax highlighting. It also delegates > to the Doxygen mode if you embed Doxygen comments in your code > (which I do), like the C and C++ modes also do now. <snip> Does this mean that it highlights as C, C++ or D according to the extension, but uses the Doxygen mode specifically to highlight the comments? I noticed a typo on the webpage: DOxygen instead of Doxygen. Not to mention Latex instead of LaTeX if that's what's meant.... Stewart. -- My e-mail is valid but not my primary mailbox. Please keep replies on the 'group where everyone may benefit. |
September 02, 2004 Re: D syntax highlighting in jEdit | ||||
---|---|---|---|---|
| ||||
Posted in reply to Nick | I noticed that putting in the extra backslash fixed the highlighting. But that "r" in front of the string says to treat the string exactly as it's typed and not to interpret any backslashes as escape characters. So if I do put in the extra backslash, I'll have two. I don't know if jEdit can do that type of special case highlighting. It's not a big thing, just a nicety. :) -Kramer In article <ch7309$avm$1@digitaldaemon.com>, Nick says... > >Or maybe I've just misunderstood what a Wysiwyg string is... > >Nick > >In article <ch72d8$agf$1@digitaldaemon.com>, Nick says... >> >>In article <ch6j4l$4q0$1@digitaldaemon.com>, Kramer says... >>> >>>When using "r" for Wysiwyg strings, the text after the first Wysiwyg string is still highlighted as if it were part of the first string, until the next quote. >>> >>>Example: writefln(r"c:\", r"d:\"); >>>^^^^^^^^^ >>>highlighted >> >>Short answer: writefln(r"c:\\", r"d:\\"); >> >>Long answer: >>The backslash is in many cases considered as a "literal" character, which means >>that the next character is to be taken literally as part of the string. For >>example, \" means that the character " is supposed to be part of the string. In >>your case the resulting string is: >>c:", r >>and then the string ends (I guess your example didn't compile?). To use an >>actual backslash character as part ot the string, use \\ >> >>Nick >> >> > > |
Copyright © 1999-2021 by the D Language Foundation