[frameworks-ktexteditor] [Bug 491351] Auto-completion position in multi-screen is broken

2024-08-21 Thread Jonathan Poelen
https://bugs.kde.org/show_bug.cgi?id=491351

--- Comment #3 from Jonathan Poelen  ---
Created attachment 172821
  --> https://bugs.kde.org/attachment.cgi?id=172821&action=edit
video with 2 screens

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

[frameworks-ktexteditor] [Bug 491412] New: Feature request: Indentation API based on regions

2024-08-07 Thread Jonathan Poelen
https://bugs.kde.org/show_bug.cgi?id=491412

Bug ID: 491412
   Summary: Feature request: Indentation API based on regions
Classification: Frameworks and Libraries
   Product: frameworks-ktexteditor
   Version: unspecified
  Platform: Other
OS: Linux
Status: REPORTED
  Severity: normal
  Priority: NOR
 Component: indentation
  Assignee: kwrite-bugs-n...@kde.org
  Reporter: jonathan.poe...@gmail.com
  Target Milestone: ---

Currently, when an end of block is detected, it triggers a line-by-line
readback until an opening is found. As the character or word searched for can
be found in comments and strings, there's a syntax parsing logic syntax that
makes the whole thing rather complex. As the API for attributes is also very
limited, you can't rely on it without going character by character...

However, the syntax part is already handled by SyntaxHighlighting, which also
knows the beginning and end of the region.

With an API that allows you to navigate and retrieve region positions,
indentation can be simplified to something like:

```js
// a syntax in closing blocks are 'end'
if (document.defStyleNum(line, curColumn) === dsControlFlow) {
  const kw = document.wordAt(line, curColumn);
  if (kw === "end") {
const column = document.firstColumn(line);
// 'end' is the first word of the line
if (column > 0 && curColumn === column + kw.length) {
  const cur = document.matchingOpeningRegion(line, column); // new API
  // beginRegion found
  if (cur) {
return document.firstVirtualColumn(cur.line);
  }
}
  }
}
```

As regions can overlap, APIs would be needed to retrieve several of them and
search, for example, for the previous unclosed opening (as in the case of line
indentations in a hash and array). Also functions to convert a region name into
an id that can then be used for the search (faster than systematically passing
a string). But we'd need to introduce a function called automatically when the
syntax changes.

Search functions would also be handy to use at attribute level (as mentioned
above, they are very limited). The only search functions that make use of them
are `document.find` / `document.rfind`, but are in fact 

As regions can overlap, we also need APIs that return several of them, and
search for the previous unclosed opening, for example (as in the case of line
indentations in a hash and array). Also functions to convert a region name into
an id that can then be used for the search (faster than systematically passing
a string). But we'd need to introduce a function called automatically when the
syntax changes.

Search functions would also be handy to use at attribute level (as mentioned
above, they are very limited). The only search functions that make use of them
are `document.find` / `document.rfind`, but are actually text-centric.

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

[frameworks-ktexteditor] [Bug 491351] Auto-completion position in multi-screen is broken

2024-08-06 Thread Jonathan Poelen
https://bugs.kde.org/show_bug.cgi?id=491351

--- Comment #1 from Jonathan Poelen  ---
Created attachment 172342
  --> https://bugs.kde.org/attachment.cgi?id=172342&action=edit
auto-completion is outside the app (starts on a third screen)

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

[frameworks-ktexteditor] [Bug 491351] New: Auto-completion position in multi-screen is broken

2024-08-06 Thread Jonathan Poelen
https://bugs.kde.org/show_bug.cgi?id=491351

Bug ID: 491351
   Summary: Auto-completion position in multi-screen is broken
Classification: Frameworks and Libraries
   Product: frameworks-ktexteditor
   Version: 5.115.0
  Platform: Kubuntu
OS: Linux
Status: REPORTED
  Severity: normal
  Priority: NOR
 Component: general
  Assignee: kwrite-bugs-n...@kde.org
  Reporter: jonathan.poe...@gmail.com
  Target Milestone: ---

Created attachment 172341
  --> https://bugs.kde.org/attachment.cgi?id=172341&action=edit
auto-completion is on the right screen rather than under the cursor (left)

SUMMARY

When the application (eg: kate or kdevelop) is opened on several screens, the
auto-completion may be displayed on the wrong screen. Command auto-completion
(F7) goes to a 3rd unused screen (and in my case below, because it is lower)

STEPS TO REPRODUCE
1. Open application on several screen
2. split view, 1 per screen
3. start auto-completion (ctrl+space) for each view

OBSERVED RESULT

The auto-completion list is always displayed on the same screen.

EXPECTED RESULT

The auto-completion list displayed below the cursor.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Kunbuntu 24.04
KDE Plasma Version: 5.27.11
KDE Frameworks Version: 5.115.0
Qt Version: 5.15.13

ADDITIONAL INFORMATION

Screen with Kate Version 23.08.5 (same with kdevelop)

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

[frameworks-syntax-highlighting] [Bug 473471] Syntax highlighting broke after the `${!}` expansion for Bash scripts

2023-08-21 Thread Jonathan Poelen
https://bugs.kde.org/show_bug.cgi?id=473471

Jonathan Poelen  changed:

   What|Removed |Added

 Resolution|--- |FIXED
 Status|ASSIGNED|RESOLVED
  Latest Commit||https://invent.kde.org/fram
   ||eworks/syntax-highlighting/
   ||-/commit/18ee15c2910f80d70f
   ||e89b1f068922d8a4fcbf97

--- Comment #5 from Jonathan Poelen  ---
Git commit 18ee15c2910f80d70fe89b1f068922d8a4fcbf97 by Jonathan Poelen.
Committed on 20/08/2023 at 22:48.
Pushed by cullmann into branch 'master'.

Bash: fix ${!}

M  +1-1autotests/folding/highlight.sh.fold
M  +1-1autotests/html/highlight.sh.dark.html
M  +1-1autotests/html/highlight.sh.html
M  +1-1autotests/input/highlight.sh
M  +1-1autotests/reference/highlight.sh.ref
M  +3-1data/syntax/bash.xml

https://invent.kde.org/frameworks/syntax-highlighting/-/commit/18ee15c2910f80d70fe89b1f068922d8a4fcbf97

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

[frameworks-syntax-highlighting] [Bug 455561] Support for Extended Markdown Syntax

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

Jonathan Poelen  changed:

   What|Removed |Added

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

--- Comment #2 from Jonathan Poelen  ---
For Okular, it is better to make a separate feature request

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

[frameworks-syntax-highlighting] [Bug 452238] Asciidoc highlighting of sub-documents

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

Jonathan Poelen  changed:

   What|Removed |Added

  Latest Commit||https://invent.kde.org/fram
   ||eworks/syntax-highlighting/
   ||-/commit/74d9321f25ccce2ed0
   ||daa51d6488ea68b28ac5c3
 Status|REPORTED|RESOLVED
 CC||jonathan.poe...@gmail.com
 Resolution|--- |FIXED

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

[frameworks-syntax-highlighting] [Bug 468394] r.xml syntax highlighting definitions miss specified integers (e.g., 3L)

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

--- Comment #2 from Jonathan Poelen  ---
Created attachment 160295
  --> https://bugs.kde.org/attachment.cgi?id=160295&action=edit
current rendering and potential new rendering

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

[frameworks-syntax-highlighting] [Bug 468394] r.xml syntax highlighting definitions miss specified integers (e.g., 3L)

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

Jonathan Poelen  changed:

   What|Removed |Added

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

--- Comment #1 from Jonathan Poelen  ---
I tried with https://pandoc.org/try/ and the following code

```r
111
111L
111i
```

The last 2 lines are not in color. Except that this is not the behavior of
KSyntaxHighlighting, for which only L and i are in Normal.

As the syntax version is also 13, I have the impression that this is on the
side of skylighting (https://github.com/jgm/skylighting/), the library used by
pandoc. This library contains a tool for converting to html or displaying in
color on the console (ansi), so I think there will be the same problem as with
pandoc. But for the moment I can't confirm this, as I don't have haskell or
skylighting and can't install anything on my machine :/.

On the other hand, I'm thinking that only the suffix could be in a different
color, something like in the attached image (on the left the current behavior,
on the right what could be the new one).

-- 
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-07-12 Thread Jonathan Poelen
https://bugs.kde.org/show_bug.cgi?id=471319

Jonathan Poelen  changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution|--- |FIXED
  Latest Commit||https://invent.kde.org/fram
   ||eworks/syntax-highlighting/
   ||-/commit/4c5d01c5937baa59c1
   ||95ff61e1cec8b790adcff4

--- Comment #6 from Jonathan Poelen  ---
Git commit 4c5d01c5937baa59c195ff61e1cec8b790adcff4 by Jonathan Poelen.
Committed on 11/07/2023 at 22:13.
Pushed by cullmann into branch 'master'.

Kotlin: fix Comment and Annotation ; add keywords

M  +33   -0autotests/folding/test.kt.fold
M  +33   -0autotests/html/test.kt.dark.html
M  +33   -0autotests/html/test.kt.html
M  +33   -0autotests/input/test.kt
M  +33   -0autotests/reference/test.kt.ref
M  +39   -6data/syntax/kotlin.xml

https://invent.kde.org/frameworks/syntax-highlighting/-/commit/4c5d01c5937baa59c195ff61e1cec8b790adcff4

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

[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 467781] makefile.xml - The "if" is NOT "gmake_if_keywords".

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

Jonathan Poelen  changed:

   What|Removed |Added

 Resolution|--- |FIXED
  Latest Commit||https://invent.kde.org/fram
   ||eworks/syntax-highlighting/
   ||-/commit/ceb0430ffea0a9dc8f
   ||e583bd61edb52437d2fb90
 Status|ASSIGNED|RESOLVED

--- Comment #2 from Jonathan Poelen  ---
Git commit ceb0430ffea0a9dc8fe583bd61edb52437d2fb90 by Jonathan Poelen.
Committed on 10/07/2023 at 00:32.
Pushed by cullmann into branch 'master'.

Makefile: "if" is NOT "gmake_if_keywords"

M  +1-2data/syntax/makefile.xml

https://invent.kde.org/frameworks/syntax-highlighting/-/commit/ceb0430ffea0a9dc8fe583bd61edb52437d2fb90

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

[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 464936] SPICE syntax-highlighting not correct

2023-01-31 Thread Jonathan Poelen
https://bugs.kde.org/show_bug.cgi?id=464936

Jonathan Poelen  changed:

   What|Removed |Added

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

--- Comment #2 from Jonathan Poelen  ---
I looked for a document that explains the syntax, but it is not clear to me:

Should comments with * always start at the beginning of the line? Can there be
spaces before?
Can expressions between braces be on more than one line? If so, does a * at the
beginning of the line indicate a multiplication or a comment?
I saw that a comment in some Spice dialect can start with a semicolon. Is this
true? I see that you use them in your file.

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

[frameworks-syntax-highlighting] [Bug 463969] Nim: Fails at "\\"

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

Jonathan Poelen  changed:

   What|Removed |Added

 Status|REPORTED|RESOLVED
  Latest Commit||https://invent.kde.org/fram
   ||eworks/syntax-highlighting/
   ||commit/ff84c4b4a92be2af15a9
   ||60fddcafe35d02af5bad
 CC||jonathan.poe...@gmail.com
 Resolution|--- |FIXED

--- Comment #1 from Jonathan Poelen  ---
Already fixed.

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

[frameworks-syntax-highlighting] [Bug 457178] Add highlighting for block comments in scheme files

2022-11-10 Thread Jonathan Poelen
https://bugs.kde.org/show_bug.cgi?id=457178

Jonathan Poelen  changed:

   What|Removed |Added

 Resolution|--- |FIXED
 Status|REPORTED|RESOLVED

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

[kate] [Bug 460578] kate stuck when opening huge single line file

2022-11-10 Thread Jonathan Poelen
https://bugs.kde.org/show_bug.cgi?id=460578

Jonathan Poelen  changed:

   What|Removed |Added

 Resolution|--- |INTENTIONAL
 Status|REPORTED|RESOLVED

--- Comment #2 from Jonathan Poelen  ---
QString::fromRawData()'s document explains how to avoid copies with
QRegularExpression, but there is a bug in Qt5 which will not be fixed:
https://bugreports.qt.io/browse/QTBUG-108302

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

[kate] [Bug 460578] kate stuck when opening huge single line file

2022-11-09 Thread Jonathan Poelen
https://bugs.kde.org/show_bug.cgi?id=460578

Jonathan Poelen  changed:

   What|Removed |Added

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

--- Comment #1 from Jonathan Poelen  ---
Developer's note: This is related to the way QRegularExpression works in Qt5:
the text is copied for each call to match(QStringView) in syntax-highlighting:
https://codebrowser.dev/qt5/qtbase/src/corelib/text/qregularexpression.h.html#_ZNK18QRegularExpression5matchE11QStringViewiNS_9MatchTypeE6QFlagsINS_11MatchOptionEE

Qt6 does not have this defect. With kate-syntax-highlighter
--output-format=ansi256colors and a json of 1.9M, it takes 45s with Qt5, but
less than 1 second with Qt6.

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

[frameworks-syntax-highlighting] [Bug 459291] Go (Golang) missing Unicode escapes, 1.13 number literals and 1.18 generic keywords

2022-11-09 Thread Jonathan Poelen
https://bugs.kde.org/show_bug.cgi?id=459291

Jonathan Poelen  changed:

   What|Removed |Added

 Resolution|--- |FIXED
 Status|ASSIGNED|RESOLVED
  Latest Commit||https://invent.kde.org/fram
   ||eworks/syntax-highlighting/
   ||commit/e462713d397525e6b359
   ||742125bbee075fdc49ca

--- Comment #3 from Jonathan Poelen  ---
Git commit e462713d397525e6b359742125bbee075fdc49ca by Jonathan Poelen.
Committed on 09/11/2022 at 01:42.
Pushed by cullmann into branch 'master'.

Go: improved support for literal numbers, add unicode escape characters and new
predefined type

- add binary (0b) and octal (0o) prefix
- add hedecimal float format (0x1.fp-2)
- add imaginary suffix (123i)
- add digit separator (1_2_3)
- add any and comparable keyword type
- add little Unicode escapes ('\u') and big Unicode escapes ('\u')

M  +7-0autotests/folding/test.go.fold
M  +8-1autotests/html/test.go.dark.html
M  +8-1autotests/html/test.go.html
M  +7-0autotests/input/test.go
M  +8-1autotests/reference/test.go.ref
M  +78   -27   data/syntax/go.xml

https://invent.kde.org/frameworks/syntax-highlighting/commit/e462713d397525e6b359742125bbee075fdc49ca

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

[frameworks-syntax-highlighting] [Bug 431268] [jira] doesn't highlight bold or italic words

2022-11-02 Thread Jonathan Poelen
https://bugs.kde.org/show_bug.cgi?id=431268

Jonathan Poelen  changed:

   What|Removed |Added

Product|kate|frameworks-syntax-highlight
   ||ing
Summary|Kate doesn't highlight bold |[jira] doesn't highlight
   |or italic words |bold or italic words
  Component|syntax  |syntax
Version|20.12.1 |5.98.0
 CC||jonathan.poe...@gmail.com,
   ||walter.von.entferndt@posteo
   ||.net

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

[kate] [Bug 374217] Where and how to configure the caret blinking? (cursor, blink rate)

2022-10-27 Thread Jonathan Poelen
https://bugs.kde.org/show_bug.cgi?id=374217

Jonathan Poelen  changed:

   What|Removed |Added

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

--- Comment #2 from Jonathan Poelen  ---
For a global configuration, this can be done with the qt5ct or qt6ct programs
(if used for Qt themes). We can also add in ~/.config/qt5ct/qt5ct.conf the
following lines:

```
[Interface]
cursor_flash_time=0
```

With KDE (~/.config/kdeglobals) the following lines:

```
[KDE]
CursorBlinkRate=0
```

As a last resort, it is possible to write a library that modifies
QApplication::cursorFlashTime and load it with LD_PRELOAD when launching kate:
https://github.com/igogo/qt5noblink

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

[frameworks-syntax-highlighting] [Bug 460527] [PATCH] Better support for some geography-related file formats

2022-10-17 Thread Jonathan Poelen
https://bugs.kde.org/show_bug.cgi?id=460527

--- Comment #4 from Jonathan Poelen  ---
The number I have indicated above is not correct, it should be `FEATURE:
460527`.

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

[frameworks-syntax-highlighting] [Bug 460596] dsControlFlow support for CMake is missing.

2022-10-17 Thread Jonathan Poelen
https://bugs.kde.org/show_bug.cgi?id=460596

--- Comment #2 from Jonathan Poelen  ---
Oops, wrong issue. To make amends, I'll watch this.

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

[frameworks-syntax-highlighting] [Bug 460527] [PATCH] Better support for some geography-related file formats

2022-10-17 Thread Jonathan Poelen
https://bugs.kde.org/show_bug.cgi?id=460527

Jonathan Poelen  changed:

   What|Removed |Added

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

--- Comment #3 from Jonathan Poelen  ---
You can add `FEATURE: 460596`¹ in your commit message so that the associated
number is automatically closed when the MR is merged.

¹
https://community.kde.org/Policies/Commit_Policy#Special_keywords_in_GIT_and_SVN_log_messages

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

[frameworks-syntax-highlighting] [Bug 460596] dsControlFlow support for CMake is missing.

2022-10-17 Thread Jonathan Poelen
https://bugs.kde.org/show_bug.cgi?id=460596

Jonathan Poelen  changed:

   What|Removed |Added

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

--- Comment #1 from Jonathan Poelen  ---
You can add `FEATURE: 460596`¹ in your commit message so that the associated
number is automatically closed when the MR is merged.

¹
https://community.kde.org/Policies/Commit_Policy#Special_keywords_in_GIT_and_SVN_log_messages

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

[frameworks-syntax-highlighting] [Bug 457178] Add highlighting for block comments in scheme files

2022-08-27 Thread Jonathan Poelen
https://bugs.kde.org/show_bug.cgi?id=457178

Jonathan Poelen  changed:

   What|Removed |Added

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

--- Comment #1 from Jonathan Poelen  ---
There have been a lot of changes in 5.74, especially on the parts you are
talking about. Unfortunately, your version (5.70) does not allow you to
retrieve the last version of the file, but you can copy
https://invent.kde.org/frameworks/syntax-highlighting/-/blob/9c4b385d6843d23713f478f73e98994ba41ce1f3/data/syntax/scheme.xml
in ~/.local/share/org.kde.syntax-highlighting/syntax (you must create the
folder if it does not exist).

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

[frameworks-syntax-highlighting] [Bug 457548] [PATCH] CartoCSS has wrong syntax highlighting when the last statement in curly braces does not terminate with a semicolon

2022-08-14 Thread Jonathan Poelen
https://bugs.kde.org/show_bug.cgi?id=457548

Jonathan Poelen  changed:

   What|Removed |Added

  Latest Commit||https://invent.kde.org/fram
   ||eworks/syntax-highlighting/
   ||-/commit/ce3eed7d886d578131
   ||16261592cc6b2cc81224dc

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

[frameworks-syntax-highlighting] [Bug 457548] [PATCH] CartoCSS has wrong syntax highlighting when the last statement in curly braces does not terminate with a semicolon

2022-08-14 Thread Jonathan Poelen
https://bugs.kde.org/show_bug.cgi?id=457548

Jonathan Poelen  changed:

   What|Removed |Added

 CC||jonathan.poe...@gmail.com
 Status|REPORTED|RESOLVED
 Resolution|--- |FIXED

--- Comment #1 from Jonathan Poelen  ---
Commit:
https://invent.kde.org/frameworks/syntax-highlighting/-/commit/ce3eed7d886d57813116261592cc6b2cc81224dc

The link is not made automatically because I did not write BUG correctly

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

[frameworks-syntax-highlighting] [Bug 437220] aspx and ashx highlighting

2022-08-14 Thread Jonathan Poelen
https://bugs.kde.org/show_bug.cgi?id=437220

--- Comment #7 from Jonathan Poelen  ---
(In reply to Jonathan Poelen from comment #6)
> Commit:
> https://invent.kde.org/frameworks/syntax-highlighting/-/commit/
> ce3eed7d886d57813116261592cc6b2cc81224dc
> 
> The link is not made automatically because I did not write BUG correctly

Oops, wrong ticket, sorry

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

[frameworks-syntax-highlighting] [Bug 437220] aspx and ashx highlighting

2022-08-14 Thread Jonathan Poelen
https://bugs.kde.org/show_bug.cgi?id=437220

--- Comment #6 from Jonathan Poelen  ---
Commit:
https://invent.kde.org/frameworks/syntax-highlighting/-/commit/ce3eed7d886d57813116261592cc6b2cc81224dc

The link is not made automatically because I did not write BUG correctly

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

[frameworks-syntax-highlighting] [Bug 450484] Kate R syntax colorer puts extra underline on common operator

2022-08-01 Thread Jonathan Poelen
https://bugs.kde.org/show_bug.cgi?id=450484

Jonathan Poelen  changed:

   What|Removed |Added

  Latest Commit||https://invent.kde.org/fram
   ||eworks/syntax-highlighting/
   ||commit/c94761c382ccf11483a1
   ||d116ec70c990e2f12e0b
 Resolution|--- |FIXED
 Status|ASSIGNED|RESOLVED

--- Comment #3 from Jonathan Poelen  ---
Git commit c94761c382ccf11483a1d116ec70c990e2f12e0b by Jonathan Poelen.
Committed on 31/07/2022 at 22:59.
Pushed by cullmann into branch 'master'.

R: add := operator

M  +2-1data/syntax/r.xml

https://invent.kde.org/frameworks/syntax-highlighting/commit/c94761c382ccf11483a1d116ec70c990e2f12e0b

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

[frameworks-syntax-highlighting] [Bug 452964] Kate syntax coloring .xml containing space

2022-07-31 Thread Jonathan Poelen
https://bugs.kde.org/show_bug.cgi?id=452964

Jonathan Poelen  changed:

   What|Removed |Added

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

--- Comment #1 from Jonathan Poelen  ---
The way keyword works is to take all the characters that are not delimiters and
then search for a keyword. With > for binary append <, the string searched will
be " for binary append " which has no match since there are extra spaces.

 is absolutely not made to work with delimiters present in items.

You can use  which only checks for delimiters at the beginning and
end. In this case, you don't need to put any more spaces in weakDeliminator

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

[frameworks-syntax-highlighting] [Bug 450878] Regression? highlighting bash code with comments

2022-05-26 Thread Jonathan Poelen
https://bugs.kde.org/show_bug.cgi?id=450878

Jonathan Poelen  changed:

   What|Removed |Added

 Resolution|--- |FIXED
  Latest Commit||https://invent.kde.org/fram
   ||eworks/syntax-highlighting/
   ||commit/56da9379626e3ab1b334
   ||3d6877d298b4dea21c46
 Status|ASSIGNED|RESOLVED

--- Comment #9 from Jonathan Poelen  ---
Git commit 56da9379626e3ab1b3343d6877d298b4dea21c46 by jonathan poelen.
Committed on 26/05/2022 at 18:12.
Pushed by jpoelen into branch 'master'.

Bash: fix comments in double braces

M  +6-0autotests/folding/highlight.sh.fold
M  +6-0autotests/html/highlight.sh.dark.html
M  +6-0autotests/html/highlight.sh.html
M  +6-0autotests/input/highlight.sh
M  +6-0autotests/reference/highlight.sh.ref
M  +3-1data/syntax/bash.xml

https://invent.kde.org/frameworks/syntax-highlighting/commit/56da9379626e3ab1b3343d6877d298b4dea21c46

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

[frameworks-syntax-highlighting] [Bug 450878] Regression? highlighting bash code with comments

2022-05-26 Thread Jonathan Poelen
https://bugs.kde.org/show_bug.cgi?id=450878

Jonathan Poelen  changed:

   What|Removed |Added

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

--- Comment #8 from Jonathan Poelen  ---
Marián Konček: this bug has already been reported and fixed (around
March/April). You have to manually update your syntax files or wait for your
packages to be updated.

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

[frameworks-syntax-highlighting] [Bug 450478] Bad bash highlighting with tilde and regexp

2022-03-20 Thread Jonathan Poelen
https://bugs.kde.org/show_bug.cgi?id=450478

Jonathan Poelen  changed:

   What|Removed |Added

  Latest Commit||https://invent.kde.org/fram
   ||eworks/syntax-highlighting/
   ||commit/fcd703aefdcdaad88b9a
   ||82deee0878f5effd025b
 Resolution|--- |FIXED
 Status|ASSIGNED|RESOLVED

--- Comment #5 from Jonathan Poelen  ---
Git commit fcd703aefdcdaad88b9a82deee0878f5effd025b by Jonathan Poelen.
Committed on 20/03/2022 at 02:02.
Pushed by cullmann into branch 'master'.

Bash/Zsh: fix expression closing parenthesis in regex

M  +4-0autotests/folding/highlight.sh.fold
M  +6-0autotests/folding/test.zsh.fold
M  +4-0autotests/html/highlight.sh.dark.html
M  +4-0autotests/html/highlight.sh.html
M  +6-0autotests/html/test.zsh.dark.html
M  +6-0autotests/html/test.zsh.html
M  +4-0autotests/input/highlight.sh
M  +6-0autotests/input/test.zsh
M  +4-0autotests/reference/highlight.sh.ref
M  +6-0autotests/reference/test.zsh.ref
M  +2-2data/syntax/bash.xml
M  +4-4data/syntax/zsh.xml

https://invent.kde.org/frameworks/syntax-highlighting/commit/fcd703aefdcdaad88b9a82deee0878f5effd025b

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

[frameworks-syntax-highlighting] [Bug 450478] Bad bash highlighting with tilde and regexp

2022-03-19 Thread Jonathan Poelen
https://bugs.kde.org/show_bug.cgi?id=450478

Jonathan Poelen  changed:

   What|Removed |Added

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

--- Comment #3 from Jonathan Poelen  ---
@Gustavo Alvarez: your other example is for another bug (#451363 which is
fixed)

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

[frameworks-syntax-highlighting] [Bug 451363] Bash highlighting fails with: "${PWD##*/}"

2022-03-19 Thread Jonathan Poelen
https://bugs.kde.org/show_bug.cgi?id=451363

Jonathan Poelen  changed:

   What|Removed |Added

 CC||jonathan.poe...@gmail.com
 Status|REPORTED|RESOLVED
  Latest Commit||https://invent.kde.org/fram
   ||eworks/syntax-highlighting/
   ||-/commit/7cf300f5d5e48acf94
   ||f17c23bc7fb6a31d69e252
 Resolution|--- |FIXED

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

[frameworks-syntax-highlighting] [Bug 449186] Extglob patterns break Bash syntax highlighting

2022-02-01 Thread Jonathan Poelen
https://bugs.kde.org/show_bug.cgi?id=449186

Jonathan Poelen  changed:

   What|Removed |Added

 Resolution|--- |FIXED
  Latest Commit||https://invent.kde.org/fram
   ||eworks/syntax-highlighting/
   ||commit/45fe3516eb4c933138cd
   ||2eb913719acda4f7d41a
 CC||jonathan.poe...@gmail.com
 Status|REPORTED|RESOLVED

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

[frameworks-syntax-highlighting] [Bug 448126] Syntax-Highlight chokes on line-break in bash condition

2022-02-01 Thread Jonathan Poelen
https://bugs.kde.org/show_bug.cgi?id=448126

Jonathan Poelen  changed:

   What|Removed |Added

 CC||jonathan.poe...@gmail.com
Version|unspecified |5.90.0

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

[frameworks-syntax-highlighting] [Bug 430668] New updates broke some bash syntax highlighting

2022-01-25 Thread Jonathan Poelen
https://bugs.kde.org/show_bug.cgi?id=430668

Jonathan Poelen  changed:

   What|Removed |Added

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

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

[frameworks-syntax-highlighting] [Bug 430668] New updates broke some bash syntax highlighting

2022-01-25 Thread Jonathan Poelen
https://bugs.kde.org/show_bug.cgi?id=430668

--- Comment #17 from Jonathan Poelen  ---
> Should I open a new bug report for this?

Yes, this issue is long since resolved and no one should read it anymore.
Except maybe those who are still subscribed to it (I won't answer it anymore
since I'm unsubscribing to it).

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

[frameworks-syntax-highlighting] [Bug 432777] Lua.xml fails, can not find DoxygenLua.xml

2021-12-19 Thread Jonathan Poelen
https://bugs.kde.org/show_bug.cgi?id=432777

Jonathan Poelen  changed:

   What|Removed |Added

 Resolution|--- |NOT A BUG
 Status|REPORTED|RESOLVED

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

[frameworks-syntax-highlighting] [Bug 442181] Line change of GNUplot files cannot be highlighted properly in Kate

2021-12-19 Thread Jonathan Poelen
https://bugs.kde.org/show_bug.cgi?id=442181

Jonathan Poelen  changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
  Latest Commit||https://invent.kde.org/fram
   ||eworks/syntax-highlighting/
   ||commit/79e30ff3dddc0c05495b
   ||1ff44f8476ef8d3d3eb0
 Resolution|--- |FIXED

--- Comment #2 from Jonathan Poelen  ---
Git commit 79e30ff3dddc0c05495b1ff44f8476ef8d3d3eb0 by Jonathan Poelen.
Committed on 19/12/2021 at 17:27.
Pushed by cullmann into branch 'master'.

GnuPlot: fix a lot of issue

A  +107  -0autotests/folding/test.gp.fold
A  +114  -0autotests/html/test.gp.dark.html
A  +114  -0autotests/html/test.gp.html
A  +107  -0autotests/input/test.gp
A  +107  -0autotests/reference/test.gp.ref
M  +10   -1data/syntax/bash.xml
M  +735  -474  data/syntax/gnuplot.xml

https://invent.kde.org/frameworks/syntax-highlighting/commit/79e30ff3dddc0c05495b1ff44f8476ef8d3d3eb0

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

[frameworks-syntax-highlighting] [Bug 439211] shuf is printed in bold blue. but it is a command like head or tail and not a function

2021-07-11 Thread Jonathan Poelen
https://bugs.kde.org/show_bug.cgi?id=439211

--- Comment #5 from Jonathan Poelen  ---
I would say commands that are found basic on all or almost all Linux
distributions or which are frequently used (there is no explanation in the
file). Those of GNU Core Utilities for example.

And after verification, shuf is in GNU Core Utilities... '^^

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

[frameworks-syntax-highlighting] [Bug 439211] shuf is printed in bold blue. but it is a command like head or tail and not a function

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

Jonathan Poelen  changed:

   What|Removed |Added

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

--- Comment #3 from Jonathan Poelen  ---
Settings -> Configure Kate -> Color Themes -> Highlighting Text Styles -> color
of OtherCommand

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

[frameworks-syntax-highlighting] [Bug 437220] aspx and ashx highlighting

2021-06-19 Thread Jonathan Poelen
https://bugs.kde.org/show_bug.cgi?id=437220

Jonathan Poelen  changed:

   What|Removed |Added

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

--- Comment #3 from Jonathan Poelen  ---
Explanation here:
https://invent.kde.org/frameworks/syntax-highlighting#how-to-contribute

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

[frameworks-syntax-highlighting] [Bug 434761] JSX code in javascript files does not get highlighted

2021-03-24 Thread Jonathan Poelen
https://bugs.kde.org/show_bug.cgi?id=434761

Jonathan Poelen  changed:

   What|Removed |Added

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

--- Comment #1 from Jonathan Poelen  ---
This is configurable (for Kate) in Settings -> Configure Kate -> Open/Save ->
Modes & Filetypes -> File extensions

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

[frameworks-syntax-highlighting] [Bug 433467] doxygen.xml [and others] have invalid "[]" in regex

2021-02-27 Thread Jonathan Poelen
https://bugs.kde.org/show_bug.cgi?id=433467

Jonathan Poelen  changed:

   What|Removed |Added

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

--- Comment #1 from Jonathan Poelen  ---
[]] is valid with PCRE (regex engine used) where ] as the first character does
not correspond to a closure (same with [^]]).

ICU regex does not seem to support all PCRE syntax, it lacks for example
(?|...) or \R which are also used.

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

[frameworks-syntax-highlighting] [Bug 432777] Lua.xml fails, can not find DoxygenLua.xml

2021-02-11 Thread Jonathan Poelen
https://bugs.kde.org/show_bug.cgi?id=432777

--- Comment #3 from Jonathan Poelen  ---
The list of xml files (with the generated ones) can be found on
https://kate-editor.org/syntax/

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

[frameworks-syntax-highlighting] [Bug 432777] Lua.xml fails, can not find DoxygenLua.xml

2021-02-11 Thread Jonathan Poelen
https://bugs.kde.org/show_bug.cgi?id=432777

Jonathan Poelen  changed:

   What|Removed |Added

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

--- Comment #2 from Jonathan Poelen  ---
doxygenlua.xml is auto-generated with generate-doxygenlua.pl doxygen.xml
doxygenlua.xml (see
https://invent.kde.org/frameworks/syntax-highlighting/-/blob/master/data/CMakeLists.txt
and 
https://invent.kde.org/frameworks/syntax-highlighting/-/blob/master/data/generators/generate-doxygenlua.pl)

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

[frameworks-syntax-highlighting] [Bug 429651] wrong PHP syntax highlight

2021-02-07 Thread Jonathan Poelen
https://bugs.kde.org/show_bug.cgi?id=429651

Jonathan Poelen  changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution|--- |FIXED
  Latest Commit||https://invent.kde.org/fram
   ||eworks/syntax-highlighting/
   ||commit/773cfb8a0d09b3ddfac7
   ||9e4ed721f66df5668e20

--- Comment #2 from Jonathan Poelen  ---
Git commit 773cfb8a0d09b3ddfac79e4ed721f66df5668e20 by Jonathan Poelen.
Committed on 07/02/2021 at 20:48.
Pushed by cullmann into branch 'master'.

PHP: fix string, number and folding region ; refactor styles

- new styles: Symbol, Operator, Scope Resolution, Error Control Operator, Cast,
Heredoc, Nowdoc
- remove hard colors
- fix folding region of alternate block / ternary
- fix variable expansion in string and heredoc
- fix '_' in a number
- add missing keywords (yield from, parent, self, ...)
- add some functions / constants

M  +177  -37   autotests/folding/highlight.php.fold
M  +158  -18   autotests/html/highlight.php.dark.html
M  +158  -18   autotests/html/highlight.php.html
M  +2-2autotests/html/test.css.dark.html
M  +2-2autotests/html/test.css.html
M  +141  -1autotests/input/highlight.php
M  +153  -13   autotests/reference/highlight.php.ref
M  +2-2autotests/reference/test.css.ref
M  +4-4autotests/reference/test.markdown.ref
M  +356  -176  data/syntax/php.xml

https://invent.kde.org/frameworks/syntax-highlighting/commit/773cfb8a0d09b3ddfac79e4ed721f66df5668e20

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

[frameworks-syntax-highlighting] [Bug 430668] New updates broke some bash syntax highlighting

2021-02-06 Thread Jonathan Poelen
https://bugs.kde.org/show_bug.cgi?id=430668

Jonathan Poelen  changed:

   What|Removed |Added

   Version Fixed In||5.79

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

[frameworks-syntax-highlighting] [Bug 430668] New updates broke some bash syntax highlighting

2021-02-06 Thread Jonathan Poelen
https://bugs.kde.org/show_bug.cgi?id=430668

--- Comment #14 from Jonathan Poelen  ---
This is fixed in 5.79, the current version in manjaro is 5.78 (which should not
be long, there is about 1 month between each version).

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

[frameworks-syntax-highlighting] [Bug 430668] New updates broke some bash syntax highlighting

2021-01-29 Thread Jonathan Poelen
https://bugs.kde.org/show_bug.cgi?id=430668

Jonathan Poelen  changed:

   What|Removed |Added

 CC||ad...@arkades.org

--- Comment #12 from Jonathan Poelen  ---
*** Bug 430483 has been marked as a duplicate of this bug. ***

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

[frameworks-syntax-highlighting] [Bug 430483] bash syntax highlighting incomplete

2021-01-29 Thread Jonathan Poelen
https://bugs.kde.org/show_bug.cgi?id=430483

Jonathan Poelen  changed:

   What|Removed |Added

 CC||jonathan.poe...@gmail.com
 Status|REPORTED|RESOLVED
 Resolution|--- |DUPLICATE

--- Comment #2 from Jonathan Poelen  ---


*** This bug has been marked as a duplicate of bug 430668 ***

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

[frameworks-syntax-highlighting] [Bug 430668] New updates broke some bash syntax highlighting

2021-01-29 Thread Jonathan Poelen
https://bugs.kde.org/show_bug.cgi?id=430668

--- Comment #11 from Jonathan Poelen  ---
Please could you make the request in another issue or on the project repository
(https://invent.kde.org/frameworks/syntax-highlighting/-/issues)?

It would be better than to continue on this thread which is fixed and which no
longer concerns a regression.

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

[frameworks-syntax-highlighting] [Bug 430668] New updates broke some bash syntax highlighting

2021-01-23 Thread Jonathan Poelen
https://bugs.kde.org/show_bug.cgi?id=430668

--- Comment #9 from Jonathan Poelen  ---
You have to wait for version 5.79 which has not yet been released. For the
other fixes, I hadn't noticed that they were already in 5.78.

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

[frameworks-syntax-highlighting] [Bug 430668] New updates broke some bash syntax highlighting

2021-01-20 Thread Jonathan Poelen
https://bugs.kde.org/show_bug.cgi?id=430668

Jonathan Poelen  changed:

   What|Removed |Added

  Latest Commit|https://invent.kde.org/fram |https://invent.kde.org/fram
   |eworks/syntax-highlighting/ |eworks/syntax-highlighting/
   |commit/04e16355f52fc83ffa58 |commit/322fe5624fa050ab2255
   |21890d91009e26d6da99|a9683538ae9be0b8603c

--- Comment #7 from Jonathan Poelen  ---
Git commit 322fe5624fa050ab2255a9683538ae9be0b8603c by Jonathan Poelen.
Committed on 20/01/2021 at 22:23.
Pushed by cullmann into branch 'master'.

Bash, Zsh: fix cmd;; in a case

M  +7-0autotests/folding/highlight.sh.fold
M  +7-0autotests/folding/test.zsh.fold
M  +7-0autotests/html/highlight.sh.dark.html
M  +7-0autotests/html/highlight.sh.html
M  +7-0autotests/html/test.zsh.dark.html
M  +7-0autotests/html/test.zsh.html
M  +7-0autotests/input/highlight.sh
M  +7-0autotests/input/test.zsh
M  +7-0autotests/reference/highlight.sh.ref
M  +7-0autotests/reference/test.zsh.ref
M  +3-4data/syntax/bash.xml
M  +3-4data/syntax/zsh.xml

https://invent.kde.org/frameworks/syntax-highlighting/commit/322fe5624fa050ab2255a9683538ae9be0b8603c

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

[kate] [Bug 431036] The syntax highlighting for BASH files didn't handle backticks properly

2021-01-18 Thread Jonathan Poelen
https://bugs.kde.org/show_bug.cgi?id=431036

Jonathan Poelen  changed:

   What|Removed |Added

  Latest Commit||https://invent.kde.org/fram
   ||eworks/syntax-highlighting/
   ||commit/f6607c869cf0f5113d65
   ||7f713fc35fd66a13b8f1
 Status|REPORTED|RESOLVED
 CC||jonathan.poe...@gmail.com
 Resolution|--- |FIXED

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

[frameworks-syntax-highlighting] [Bug 430668] New updates broke some bash syntax highlighting

2021-01-16 Thread Jonathan Poelen
https://bugs.kde.org/show_bug.cgi?id=430668

Jonathan Poelen  changed:

   What|Removed |Added

 Resolution|--- |FIXED
  Latest Commit||https://invent.kde.org/fram
   ||eworks/syntax-highlighting/
   ||commit/04e16355f52fc83ffa58
   ||21890d91009e26d6da99
 Status|ASSIGNED|RESOLVED

--- Comment #5 from Jonathan Poelen  ---
Git commit 04e16355f52fc83ffa5821890d91009e26d6da99 by Jonathan Poelen.
Committed on 16/01/2021 at 01:21.
Pushed by cullmann into branch 'master'.

Bash: fix } in ${!xy*} and more Parameter Expansion Operator (# in ${#xy} ;
!,*,@,[*],[@] in ${!xy*})

M  +3-3autotests/html/highlight.sh.dark.html
M  +3-3autotests/html/highlight.sh.html
M  +3-3autotests/reference/highlight.sh.ref
M  +8-5data/syntax/bash.xml

https://invent.kde.org/frameworks/syntax-highlighting/commit/04e16355f52fc83ffa5821890d91009e26d6da99

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

[frameworks-syntax-highlighting] [Bug 430668] New updates broke some bash syntax highlighting

2021-01-15 Thread Jonathan Poelen
https://bugs.kde.org/show_bug.cgi?id=430668

--- Comment #3 from Jonathan Poelen  ---
1 to 5: all fixed in 5.79 :)

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

[frameworks-syntax-highlighting] [Bug 430668] New updates broke some bash syntax highlighting

2021-01-10 Thread Jonathan Poelen
https://bugs.kde.org/show_bug.cgi?id=430668

Jonathan Poelen  changed:

   What|Removed |Added

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

--- Comment #1 from Jonathan Poelen  ---
The comments have normally been fixed and I confirm the problem for ${!xxx[@]}.

Could you give a code that reproduces the [] issue? It may depend on the lines
that precede.

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

[frameworks-syntax-highlighting] [Bug 413626] Bash string highlighting problems

2020-03-14 Thread Jonathan Poelen
https://bugs.kde.org/show_bug.cgi?id=413626

Jonathan Poelen  changed:

   What|Removed |Added

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

--- Comment #5 from Jonathan Poelen  ---
Is the syntax ${"..."} really valid? I don't see anything like it in the
manual.

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

[frameworks-syntax-highlighting] [Bug 381547] [New Syntax] Add Syntax Support for Renpy .rpy files

2019-10-05 Thread Jonathan Poelen
https://bugs.kde.org/show_bug.cgi?id=381547

Jonathan Poelen  changed:

   What|Removed |Added

 Status|REPORTED|RESOLVED
  Latest Commit||https://commits.kde.org/syn
   ||tax-highlighting/4e278a1c3e
   ||47b40847c66b762ac09f613a228
   ||b62
 Resolution|--- |FIXED

--- Comment #2 from Jonathan Poelen  ---
Git commit 4e278a1c3e47b40847c66b762ac09f613a228b62 by Jonathan Poelen.
Committed on 05/10/2019 at 20:56.
Pushed by jpoelen into branch 'master'.

Add syntax highlighting for RenPy (.rpy)

Summary: BUG: 381547

Reviewers: #framework_syntax_highlighting, dhaumann, cullmann

Reviewed By: #framework_syntax_highlighting, dhaumann

Subscribers: kwrite-devel, kde-frameworks-devel

Tags: #kate, #frameworks

Differential Revision: https://phabricator.kde.org/D24326

A  +60   -0autotests/folding/highlight.rpy.fold
A  +67   -0autotests/html/highlight.rpy.html
A  +60   -0autotests/input/highlight.rpy
A  +60   -0autotests/reference/highlight.rpy.ref
A  +667  -0data/syntax/renpy.xml

https://commits.kde.org/syntax-highlighting/4e278a1c3e47b40847c66b762ac09f613a228b62

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

[frameworks-syntax-highlighting] [Bug 399388] IncludeRules breaks dynamic RegExpr matching

2019-09-26 Thread Jonathan Poelen
https://bugs.kde.org/show_bug.cgi?id=399388

Jonathan Poelen  changed:

   What|Removed |Added

 Status|REPORTED|RESOLVED
  Latest Commit||https://commits.kde.org/syn
   ||tax-highlighting/d6b1e02ad4
   ||da168755df693bca379937ce618
   ||f13
 Resolution|--- |FIXED

--- Comment #1 from Jonathan Poelen  ---
Git commit d6b1e02ad4da168755df693bca379937ce618f13 by Jonathan Poelen.
Committed on 26/09/2019 at 21:03.
Pushed by jpoelen into branch 'master'.

Fix skipOffset with dynamic RegExpr

Summary:
The pattern used depends on the previous contexts so skipOffset cannot be
computed with a dynamic regex.

Reviewers: #framework_syntax_highlighting, dhaumann, cullmann

Reviewed By: #framework_syntax_highlighting, cullmann

Subscribers: kwrite-devel, kde-frameworks-devel

Tags: #kate, #frameworks

Differential Revision: https://phabricator.kde.org/D24179

A  +2-0autotests/folding/d399388_dynamic_RegExpr.dyInclRl.fold
A  +9-0autotests/html/d399388_dynamic_RegExpr.dyInclRl.html
A  +2-0autotests/input/d399388_dynamic_RegExpr.dyInclRl
A  +40   -0autotests/input/syntax/d399388_dynamic_RegExpr.xml
A  +2-0autotests/reference/d399388_dynamic_RegExpr.dyInclRl.ref
M  +3-1src/lib/rule.cpp

https://commits.kde.org/syntax-highlighting/d6b1e02ad4da168755df693bca379937ce618f13

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

[frameworks-syntax-highlighting] [Bug 392468] [New Syntax] No Perl 6 syntax highlighting

2019-09-23 Thread Jonathan Poelen
https://bugs.kde.org/show_bug.cgi?id=392468

Jonathan Poelen  changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
  Latest Commit|https://commits.kde.org/syn |https://commits.kde.org/syn
   |tax-highlighting/cd9068f802 |tax-highlighting/5e0343812c
   |bc3e5e5211ad1c0c765afc76598 |221f6bc402cb8d706870d58778b
   |6fe |407
 Resolution|--- |FIXED

--- Comment #6 from Jonathan Poelen  ---
Git commit 5e0343812c221f6bc402cb8d706870d58778b407 by Jonathan Poelen.
Committed on 23/09/2019 at 22:28.
Pushed by jpoelen into branch 'master'.

Add syntax definition for Perl6

Summary: BUG: 392468

Reviewers: #framework_syntax_highlighting, dhaumann, cullmann

Reviewed By: #framework_syntax_highlighting, cullmann

Subscribers: kwrite-devel, kde-frameworks-devel

Tags: #kate, #frameworks

Differential Revision: https://phabricator.kde.org/D24176

A  +651  -0autotests/folding/highlight.pl6.fold
A  +658  -0autotests/html/highlight.pl6.html
A  +651  -0autotests/input/highlight.pl6
A  +651  -0autotests/reference/highlight.pl6.ref
M  +1-1data/syntax/perl.xml
A  +1785 -0data/syntax/perl6.xml

https://commits.kde.org/syntax-highlighting/5e0343812c221f6bc402cb8d706870d58778b407

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

[frameworks-syntax-highlighting] [Bug 392468] [New Syntax] No Perl 6 syntax highlighting

2019-09-09 Thread Jonathan Poelen
https://bugs.kde.org/show_bug.cgi?id=392468

Jonathan Poelen  changed:

   What|Removed |Added

 Status|REOPENED|ASSIGNED
 CC||jonathan.poe...@gmail.com

--- Comment #5 from Jonathan Poelen  ---
I started last week with pod6 and comments. It took a long time, it will not be
finished before 1 month.

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

[frameworks-syntax-highlighting] [Bug 367720] lookAhead does not work with dynamic

2019-09-01 Thread Jonathan Poelen
https://bugs.kde.org/show_bug.cgi?id=367720

--- Comment #2 from Jonathan Poelen  ---
I tried to make an example to reproduce the problem, but without success.




  

  


  
  
 
  
  
  
  


  
  
  

  


With

ab
ca
ab

All `ab` are Keyword

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

[frameworks-syntax-highlighting] [Bug 392612] Spellchecking po files

2019-08-27 Thread Jonathan Poelen
https://bugs.kde.org/show_bug.cgi?id=392612

Jonathan Poelen  changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
  Latest Commit||https://commits.kde.org/syn
   ||tax-highlighting/0f150cafac
   ||4ba81916d2f11f8d6a3ec110491
   ||26b
 Resolution|--- |FIXED

--- Comment #5 from Jonathan Poelen  ---
Git commit 0f150cafac4ba81916d2f11f8d6a3ec11049126b by Jonathan Poelen.
Committed on 28/08/2019 at 00:19.
Pushed by jpoelen into branch 'master'.

Gettext: Add "Translated String" style and spellChecking attribute

Summary:
New style ("Translated String") for a string associated with msgstr. Normal
String and some other styles are now spellChecking=false.

Hardcoded colors are removed.

Reviewers: #framework_syntax_highlighting, dhaumann, cullmann

Reviewed By: #framework_syntax_highlighting, cullmann

Subscribers: kwrite-devel, kde-frameworks-devel

Tags: #kate, #frameworks

Differential Revision: https://phabricator.kde.org/D23513

M  +28   -28   autotests/html/highlight.po.html
M  +19   -19   autotests/reference/highlight.po.ref
M  +59   -35   data/syntax/gettext.xml

https://commits.kde.org/syntax-highlighting/0f150cafac4ba81916d2f11f8d6a3ec11049126b

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

[frameworks-syntax-highlighting] [Bug 397936] Kate reports errors for syntax xml file but NO DETAILS

2019-08-27 Thread Jonathan Poelen
https://bugs.kde.org/show_bug.cgi?id=397936

Jonathan Poelen  changed:

   What|Removed |Added

 Resolution|--- |NOT A BUG
 Status|REPORTED|RESOLVED
 CC||jonathan.poe...@gmail.com

--- Comment #3 from Jonathan Poelen  ---
I don't know where language.dtd is located, but the current validation uses XML
Schema Definition (language.xsd) to validate the format. The content is very
different from a dtd file and the verification is done with --schema rather
than --valid.

xmllint --noout --schema data/schema/language.xsd file.xml

The xmllint error seems to come from the dtd parser that does not recognize the
format.

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

[frameworks-syntax-highlighting] [Bug 395063] Haskell highlighting of multiline signatures

2019-08-27 Thread Jonathan Poelen
https://bugs.kde.org/show_bug.cgi?id=395063

Jonathan Poelen  changed:

   What|Removed |Added

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

--- Comment #1 from Jonathan Poelen  ---
KSyntaxhighlighting works only per line and cannot "look" at the following
lines. When a line is consumed, it is no longer possible to change the state of
the previous one.

Haskell's problem is that it is not possible to differentiate a function or a
signature by looking only at the first line if it only contains one word.

example -- signature or function ?
 :: IO()
example -- signature or function ?
 = putStrLn "Hello"

example :: -- signature
 IO()
example = -- function
 putStrLn "Hello

This problem cannot be solved without radically modifying the interface and
softwares that use it.

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

[frameworks-syntax-highlighting] [Bug 392612] Spellchecking po files

2019-08-25 Thread Jonathan Poelen
https://bugs.kde.org/show_bug.cgi?id=392612

Jonathan Poelen  changed:

   What|Removed |Added

 Status|REPORTED|ASSIGNED
 Ever confirmed|0   |1

--- Comment #3 from Jonathan Poelen  ---
It's conceivable for me, I'll look at it in the following days.

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

[frameworks-syntax-highlighting] [Bug 345003] syntax highlighting for jsp incomplete

2019-08-21 Thread Jonathan Poelen
https://bugs.kde.org/show_bug.cgi?id=345003

Jonathan Poelen  changed:

   What|Removed |Added

 Resolution|--- |FIXED
  Latest Commit||https://commits.kde.org/syn
   ||tax-highlighting/433e5d8597
   ||9ccf91224c930da80dfc8efd1d6
   ||342
 Status|REPORTED|RESOLVED

--- Comment #6 from Jonathan Poelen  ---
Git commit 433e5d85979ccf91224c930da80dfc8efd1d6342 by Jonathan Poelen.
Committed on 21/08/2019 at 22:07.
Pushed by jpoelen into branch 'master'.

JSP: support of 

[frameworks-syntax-highlighting] [Bug 149313] add support for HAML and SASS syntax highlighting

2019-08-19 Thread Jonathan Poelen
https://bugs.kde.org/show_bug.cgi?id=149313

Jonathan Poelen  changed:

   What|Removed |Added

 Resolution|--- |FIXED
 Status|REPORTED|RESOLVED
  Latest Commit||https://commits.kde.org/syn
   ||tax-highlighting/0edc0cb01a
   ||b7f43fde82e5d80c6fc42c93d5f
   ||be0

--- Comment #8 from Jonathan Poelen  ---
Git commit 0edc0cb01ab7f43fde82e5d80c6fc42c93d5fbe0 by Jonathan Poelen.
Committed on 19/08/2019 at 21:32.
Pushed by jpoelen into branch 'master'.

New syntax: SASS. Some fixes for CSS and SCSS

Summary:
CSS, SCSS (CSS4):

  - number in scientific notation: `12.3e3`
  - hexadecimal rgba: `#fffa` and `#ffaa`
  - new units: cap,ic,lh,rlh,vi,vb,vmin,vmax,Q,in,dpi,dpcm,dppx,x
  - remove unknown unit: vm
  - new pseudo selector: matches

SCSS:

  - fix nested function
  - fix `...` as operator
  - fix interpolation as property

SASS:

  - new syntax

Reviewers: #framework_syntax_highlighting, dhaumann, cullmann

Reviewed By: #framework_syntax_highlighting, dhaumann

Subscribers: kwrite-devel, kde-frameworks-devel

Tags: #kate, #frameworks

Differential Revision: https://phabricator.kde.org/D23245

A  +824  -0autotests/folding/highlight.sass.fold
M  +10   -0autotests/folding/highlight.scss.fold
M  +1-1autotests/html/highlight.css.html
A  +831  -0autotests/html/highlight.sass.html
M  +15   -5autotests/html/highlight.scss.html
M  +1-1autotests/html/review128925-1.scss.html
A  +824  -0autotests/input/highlight.sass
M  +10   -0autotests/input/highlight.scss
M  +1-1autotests/reference/highlight.css.ref
A  +824  -0autotests/reference/highlight.sass.ref
M  +15   -5autotests/reference/highlight.scss.ref
M  +1-1autotests/reference/review128925-1.scss.ref
M  +9-6data/syntax/css.xml
A  +467  -0data/syntax/sass.xml
M  +31   -13   data/syntax/scss.xml

https://commits.kde.org/syntax-highlighting/0edc0cb01ab7f43fde82e5d80c6fc42c93d5fbe0

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

[frameworks-syntax-highlighting] [Bug 410477] Syntax Highlighting LaTeX: wrong color for \end{split} in environment equation

2019-08-08 Thread Jonathan Poelen
https://bugs.kde.org/show_bug.cgi?id=410477

Jonathan Poelen  changed:

   What|Removed |Added

 Resolution|--- |FIXED
 Status|CONFIRMED   |RESOLVED
  Latest Commit||https://commits.kde.org/syn
   ||tax-highlighting/75e233dc57
   ||9226d89294c3e70a921cc113eb6
   ||9cc

--- Comment #6 from Jonathan Poelen  ---
Git commit 75e233dc579226d89294c3e70a921cc113eb69cc by Jonathan Poelen.
Committed on 09/08/2019 at 00:21.
Pushed by jpoelen into branch 'master'.

Latex: several fixes (math mode, nested verbatim, ...)

Summary:
- nested { and macro identifier with math mode
- add shortintertext, Cref, param with math env and fix providecommand
- text macro in math mode
- nested verbatim
- ...
Related: bug 320303

Reviewers: #framework_syntax_highlighting, dhaumann, cullmann

Reviewed By: #framework_syntax_highlighting, cullmann

Subscribers: nibags, kde-frameworks-devel, kwrite-devel

Tags: #kate, #frameworks

Differential Revision: https://phabricator.kde.org/D23013

M  +3-3autotests/folding/example.rmd.fold
M  +183  -6autotests/folding/highlight.tex.fold
D  +0-5autotests/folding/test.tex.fold
M  +182  -5autotests/html/highlight.tex.html
D  +0-12   autotests/html/test.tex.html
M  +177  -0autotests/input/highlight.tex
D  +0-5autotests/input/test.tex
M  +186  -9autotests/reference/highlight.tex.ref
D  +0-5autotests/reference/test.tex.ref
M  +2-2autotests/syntaxrepository_test.cpp
M  +685  -275  data/syntax/latex.xml

https://commits.kde.org/syntax-highlighting/75e233dc579226d89294c3e70a921cc113eb69cc

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

[kile] [Bug 320303] no highlighting of math mode in a parbox or other {} parts within an array

2019-08-08 Thread Jonathan Poelen
https://bugs.kde.org/show_bug.cgi?id=320303

Jonathan Poelen  changed:

   What|Removed |Added

 Resolution|--- |FIXED
 Status|REPORTED|RESOLVED
  Latest Commit||https://commits.kde.org/syn
   ||tax-highlighting/75e233dc57
   ||9226d89294c3e70a921cc113eb6
   ||9cc

--- Comment #5 from Jonathan Poelen  ---
Git commit 75e233dc579226d89294c3e70a921cc113eb69cc by Jonathan Poelen.
Committed on 09/08/2019 at 00:21.
Pushed by jpoelen into branch 'master'.

Latex: several fixes (math mode, nested verbatim, ...)

Summary:
- nested { and macro identifier with math mode
- add shortintertext, Cref, param with math env and fix providecommand
- text macro in math mode
- nested verbatim
- ...
Related: bug 410477

Reviewers: #framework_syntax_highlighting, dhaumann, cullmann

Reviewed By: #framework_syntax_highlighting, cullmann

Subscribers: nibags, kde-frameworks-devel, kwrite-devel

Tags: #kate, #frameworks

Differential Revision: https://phabricator.kde.org/D23013

M  +3-3autotests/folding/example.rmd.fold
M  +183  -6autotests/folding/highlight.tex.fold
D  +0-5autotests/folding/test.tex.fold
M  +182  -5autotests/html/highlight.tex.html
D  +0-12   autotests/html/test.tex.html
M  +177  -0autotests/input/highlight.tex
D  +0-5autotests/input/test.tex
M  +186  -9autotests/reference/highlight.tex.ref
D  +0-5autotests/reference/test.tex.ref
M  +2-2autotests/syntaxrepository_test.cpp
M  +685  -275  data/syntax/latex.xml

https://commits.kde.org/syntax-highlighting/75e233dc579226d89294c3e70a921cc113eb69cc

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