[frameworks-syntax-highlighting] [Bug 468484] request: spellchecking to be HTML aware

2023-07-12 Thread Jonathan Poelen
https://bugs.kde.org/show_bug.cgi?id=468484

--- Comment #4 from Jonathan Poelen  ---
I understand better, but it's a rather complicated thing to do with undesirable
effects.

For example, in the simple case of checking title and alt in HTML, this
involves adding a "color" that would have the particularity of being
verifiable.


with


[frameworks-syntax-highlighting] [Bug 468484] request: spellchecking to be HTML aware

2023-07-10 Thread Richard Neill
https://bugs.kde.org/show_bug.cgi?id=468484

--- Comment #3 from Richard Neill  ---
Hi - and thanks for your reply. 
I've realised what's happening - there is an issue here, but it's not quite
what I thought it was.

Test case 1. 
Create a file with a .php extension, and (without entering php mode, with
This is a nonébreakzing title link 
--- END ---

This is handled correctly, identifying the misspelled 'breakzing' but nothing
else. 


Test case 2.
In the same file, enter PHP mode and echo it.

--- BEGIN ---
This is a non breakzing title with a $var[keytzypo] embedded and
a link ";
?>
--- END ---

In this case, the spellchecker triggers on:
*  h5  - this is a legal tag
*  nbsp - this is a legal entity
*  breakzing - this IS a typo which we wanted to find - correct behaviour.
*  keytzypo - this is an array-key - shouldn't trigger. (normal, non-array
variables are OK).
 * examplze - part of an URL, shouldn't trigger.
* h5 - again.


=> So, this bug report should really be about checking, when it is within a
quoted-string in PHP. 

This way of writing code is so common (i.e. switching in and out of PHP-mode by
using echo, rather than with ?>...

[frameworks-syntax-highlighting] [Bug 468484] request: spellchecking to be HTML aware

2023-07-09 Thread Jonathan Poelen
https://bugs.kde.org/show_bug.cgi?id=468484

Jonathan Poelen  changed:

   What|Removed |Added

 CC||jonathan.poe...@gmail.com

--- Comment #2 from Jonathan Poelen  ---
This has been done since 2016 and on my side h2 and nbsp are ignored. I don't
understand, which editor are you using? I tried with Kate.

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

[frameworks-syntax-highlighting] [Bug 468484] request: spellchecking to be HTML aware

2023-04-14 Thread Christoph Cullmann
https://bugs.kde.org/show_bug.cgi?id=468484

Christoph Cullmann  changed:

   What|Removed |Added

  Component|general |syntax
 Status|REPORTED|CONFIRMED
 Ever confirmed|0   |1
 CC||cullm...@kde.org,
   ||walter.von.entferndt@posteo
   ||.net
Product|kate|frameworks-syntax-highlight
   ||ing
Version|22.12.3 |unspecified

--- Comment #1 from Christoph Cullmann  ---
One needs to mark the stuff that shall not be spell checked in the syntax
definition.

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