Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Java class name high-lighting #691

Open
philiprbrenan opened this issue Oct 12, 2015 · 5 comments
Open

Java class name high-lighting #691

philiprbrenan opened this issue Oct 12, 2015 · 5 comments

Comments

@philiprbrenan
Copy link

class name highlighting
Geany very helpfully high-lights Java class names, which I find very useful. However, if I use a curly D as the first letter of the name, which is valid Java, it doesn't seem to high-light the class name.

@codebrainz
Copy link
Member

You are evil for using ambiguous Unicode characters in an identifier, even if it's valid code :)

b4n added a commit to b4n/geany that referenced this issue Oct 12, 2015
While it might only currently make sense for Java, it should be
harmless for other languages and is a lot easier and cleaner to
implement like that.

Also, note that this allows more things than Java actually allows, as
it accepts any non-ASCII byte as an identifier, while Java seems to
require a Unicode alphanumeric one.  Again, it should be harmless and
is a lot easier to implement than fully-fledged Unicode support.

Closes geany#691.
@esotericpig
Copy link

I was looking through some old bugs, and this one seems to be fine now and can be closed. @codebrainz

Screenshot from 2021-06-03

@elextr
Copy link
Member

elextr commented Jun 2, 2021

@esotericpig doesn't work here.

Note: the symbol in the symbols tab is isplay no curly D and the display is not bolded (not highlight as the OP called it).

09:27:44: Geany INFO : Geany 1.38 (git >= b524a58), en_AU.UTF-8
09:27:44: Geany INFO : GTK 3.24.20, GLib 2.64.6
09:27:44: Geany INFO : OS: Linux Mint 20 (ulyana)

@esotericpig
Copy link

@esotericpig doesn't work here.

Note: the symbol in the symbols tab is isplay no curly D and the display is not bolded (not highlight as the OP called it).

Oh, you're right, my bad. I had to save it to a file (not just a file buffer with setting the file type manually) for the bold and symbols to show up, not sure if that is also a bug.

@elextr
Copy link
Member

elextr commented Jun 3, 2021

I had to save it to a file (not just a file buffer with setting the file type manually) for the bold and symbols to show up, not sure if that is also a bug.

No, thats how it works, the symbols need a filename since thats the key they are stored under.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants