Bug 442181 - Line change of GNUplot files cannot be highlighted properly in Kate
Summary: Line change of GNUplot files cannot be highlighted properly in Kate
Status: RESOLVED FIXED
Alias: None
Product: frameworks-syntax-highlighting
Classification: Frameworks and Libraries
Component: syntax (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-09-08 15:14 UTC by shenlebantongying
Modified: 2021-12-19 17:55 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Comprasion with another editor (50.24 KB, image/png)
2021-09-08 15:14 UTC, shenlebantongying
Details

Note You need to log in before you can comment on or make changes to this bug.
Description shenlebantongying 2021-09-08 15:14:03 UTC
Created attachment 141397 [details]
Comprasion with another editor

SUMMARY

Kate cannot properly handle line-change for GNUplot files.

STEPS TO REPRODUCE
For example, use the code below and name the file as ***.gnuplot

```
set terminal pdf
plot "data-simple" using 1:2 with lines, \
     "data-simple" using 1:3 with linespoints
```

The last line cannot be properly highlighted.


EXPECTED RESULT

The attachment is a comparison, left is Kate, right side is another editor which can handle line change properly.

SOFTWARE/OS VERSIONS
All software are on the newest version of archlinux.
Comment 1 Bug Janitor Service 2021-12-19 17:28:00 UTC
A possibly relevant merge request was started @ https://invent.kde.org/frameworks/syntax-highlighting/-/merge_requests/284
Comment 2 Jonathan Poelen 2021-12-19 17:55:34 UTC
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  -0    autotests/folding/test.gp.fold
A  +114  -0    autotests/html/test.gp.dark.html
A  +114  -0    autotests/html/test.gp.html
A  +107  -0    autotests/input/test.gp
A  +107  -0    autotests/reference/test.gp.ref
M  +10   -1    data/syntax/bash.xml
M  +735  -474  data/syntax/gnuplot.xml

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