patchGNU nano - Patches: patch #9718, Some love for Java syntax...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

patch #9718: Some love for Java syntax highlighting

Submitter:  easyaspi314 <easyaspi314>
Submitted:  Sat 10 Nov 2018 05:41:16 PM UTC
   
 
Priority:  5 - Normal Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open Release:  None

Thu 15 Nov 2018 06:18:20 PM UTC, comment #1: 

Please post this to the devel list.  I have no knowledge of Java and cannot judge whether this is better than the current java.nanorc.

Benno Schulenberg <bens>
Group administrator
Sat 10 Nov 2018 05:41:16 PM UTC, original submission:  

This is much better than the unsightly highlighting we had before.

- I changed the colors to fit in with the nanorc style, which I happen to like a lot. No more red strings.
- It supports current keywords such as enum and module
- It supports number/character literals and no longer chokes on escapes.
- Colors are easier to read, and there are fewer clashes (e.g. string switching)
- CONSTANTS_ARE_HIGHLIGHTED_LIKE_C
- @Annotations and @javadoc keywords are also highlighted now.
- It recognizes .aidl files and files starting with "^package foo.*;" as Java.

easyaspi314 <easyaspi314>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attached Files

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by bens (Posted a comment)
  • -email is unavailable- added by easyaspi314 (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2018-11-10 easyaspi314 Attached File- Added 0001-Some-love-for-Java-syntax-highlighting.patch, #45400

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code