[frameworks-syntax-highlighting] [Bug 471319] New: Kotlin syntax does not permit comments in very many places

2023-06-21 Thread Nasado
https://bugs.kde.org/show_bug.cgi?id=471319

Bug ID: 471319
   Summary: Kotlin syntax does not permit comments in very many
places
Classification: Frameworks and Libraries
   Product: frameworks-syntax-highlighting
   Version: 5.107.0
  Platform: Archlinux
OS: Linux
Status: REPORTED
  Severity: normal
  Priority: NOR
 Component: syntax
  Assignee: kwrite-bugs-n...@kde.org
  Reporter: h...@nasado.name
CC: walter.von.entfer...@posteo.net
  Target Milestone: ---

SUMMARY
The Kotlin syntax (the one used for highlighting, as opposed to the syntax of
the actual language) is unnecessarily restrictive about where comments can be
placed. For example, it will not recognize comments on import lines, in
variable definitions (before the identifier), in class bodies (after the first
member), 

STEPS TO REPRODUCE
1. Create or open a Kotlin file.
2. Place a comment in any of the locations described above.

OBSERVED RESULT
The comment is not highlighted as a comment.

EXPECTED RESULT
The comment should be highlighted as a comment.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: couldn't find, sorry
KDE Plasma Version: 5.27.5
KDE Frameworks Version: 5.107.0
Qt Version: 5.15.10

-- 
You are receiving this mail because:
You are watching all bug changes.

[frameworks-syntax-highlighting] [Bug 471319] Kotlin syntax does not permit comments in very many places

2023-06-22 Thread Nasado
https://bugs.kde.org/show_bug.cgi?id=471319

--- Comment #2 from Nasado  ---
Created attachment 159846
  --> https://bugs.kde.org/attachment.cgi?id=159846&action=edit
Sample code containing comments that aren't highlighted as comments

-- 
You are receiving this mail because:
You are watching all bug changes.

[frameworks-syntax-highlighting] [Bug 471319] Kotlin syntax does not permit comments in very many places

2023-06-22 Thread Nasado
https://bugs.kde.org/show_bug.cgi?id=471319

--- Comment #3 from Nasado  ---
Created attachment 159847
  --> https://bugs.kde.org/attachment.cgi?id=159847&action=edit
The sample code, as displayed in Kate.

-- 
You are receiving this mail because:
You are watching all bug changes.

[frameworks-syntax-highlighting] [Bug 471319] Kotlin syntax does not permit comments in very many places

2023-06-22 Thread Nasado
https://bugs.kde.org/show_bug.cgi?id=471319

--- Comment #4 from Nasado  ---
I did try to fix this myself, and I found that documentation, but it was
complex enough I had to give up. I suppose if nobody who knows the format
better is around to do it, I can try again.

-- 
You are receiving this mail because:
You are watching all bug changes.

[ghostwriter] [Bug 492290] widgets.qss appears in home directory

2024-09-06 Thread Nasado
https://bugs.kde.org/show_bug.cgi?id=492290

Nasado  changed:

   What|Removed |Added

 CC||h...@nasado.name

--- Comment #1 from Nasado  ---
I've just encountered this bug. Actually, widgets.qss appears in whatever
folder ghostwriter is started in. If it is started by (for example)
right-clicking an existing file, then widgets.qss will appear adjacent to that
file.

-- 
You are receiving this mail because:
You are watching all bug changes.

[frameworks-syntax-highlighting] [Bug 493459] New: Swift code is highlighted wrong after a protocol ending in a method declaration

2024-09-21 Thread Nasado
https://bugs.kde.org/show_bug.cgi?id=493459

Bug ID: 493459
   Summary: Swift code is highlighted wrong after a protocol
ending in a method declaration
Classification: Frameworks and Libraries
   Product: frameworks-syntax-highlighting
   Version: 6.6.0
  Platform: Arch Linux
OS: Linux
Status: REPORTED
  Severity: normal
  Priority: NOR
 Component: syntax
  Assignee: kwrite-bugs-n...@kde.org
  Reporter: h...@nasado.name
CC: walter.von.entfer...@posteo.net
  Target Milestone: ---

Created attachment 173944
  --> https://bugs.kde.org/attachment.cgi?id=173944&action=edit
Badly highlighted sample code

SUMMARY
Swift code is highlighted wrong after a protocol ending in a method
declaration.

STEPS TO REPRODUCE
1. Open the attached file in Kate or KWrite.

OBSERVED RESULT
The second comment is purple (with white slashes), as is the name of the Fruit
enum.

EXPECTED RESULT
If everything above the "Something tasty" comment is removed, the comment and
Fruit enum look the same.

SOFTWARE/OS VERSIONS
KDE Plasma Version: 6.1.5
KDE Frameworks Version: 6.6.0
Qt Version: 6.7.2

-- 
You are receiving this mail because:
You are watching all bug changes.