Bug 67357 - improve scheme highlighting
Summary: improve scheme highlighting
Status: RESOLVED FIXED
Alias: None
Product: kate
Classification: Applications
Component: syntax (show other bugs)
Version: 2.2
Platform: unspecified Linux
: NOR wishlist
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-11-05 23:38 UTC by maor
Modified: 2004-03-16 00:12 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
test file simple case (32 bytes, text/plain)
2003-12-10 18:49 UTC, maor
Details
snapshot of the problem (32.95 KB, image/png)
2003-12-10 18:50 UTC, maor
Details
scheme procedure with few test case of the problem (676 bytes, text/plain)
2004-01-09 08:31 UTC, maor
Details
screen shot of test case (55.90 KB, text/plain)
2004-01-11 19:42 UTC, maor
Details
the screen shot now in the correct way (55.90 KB, image/png)
2004-01-11 19:43 UTC, maor
Details
another test case (347 bytes, text/plain)
2004-01-13 11:29 UTC, maor
Details
snapshot of the test-case (33.34 KB, image/png)
2004-01-13 11:33 UTC, maor
Details

Note You need to log in before you can comment on or make changes to this bug.
Description maor 2003-11-05 23:38:36 UTC
Version:           2.2 (using KDE 3.1.93 (CVS >= 20031028), Gentoo)
Compiler:          gcc version 3.3.2 20031022 (Gentoo Linux 3.3.2-r2, propolice)
OS:          Linux (i686) release 2.6.0-test9-mm1

using append cause the syntax highlight after that in the same line stop working.
Comment 1 Jesse 2003-12-07 09:42:04 UTC
Could you provide a small testcase of this problem?  I have a sample scheme file I'm using for tests and can't seem to reproduce your problem.  More specifically, how exactly does it stop working? What do you append?
Comment 2 maor 2003-12-10 18:49:47 UTC
Created attachment 3640 [details]
test file simple case

sorry for not making it earlier here is very simple test case to the problem
tested on kde 3.2 post beta2 on gentoo and in kde 3.1.4 on mandrake 9.1 next
i'll had a snapshot of window than u can see it looses the highlight of
brackets after append word
Comment 3 maor 2003-12-10 18:50:42 UTC
Created attachment 3641 [details]
snapshot of the problem
Comment 4 Christoph Cullmann 2004-01-07 21:51:13 UTC
fix in cvs, hl file uploaded to kate homepage
Comment 5 maor 2004-01-08 08:23:10 UTC
sorry for not doing it previous the problem with the special word append solved but the same problem also existe in other special word like string vector and maybe some more.
Comment 6 Christoph Cullmann 2004-01-08 22:23:16 UTC
have commited and uploaded a new version, should be in the net in some hours, could you check this too ? perhaps than the other stuff is fixed too
Comment 7 maor 2004-01-09 08:31:50 UTC
Created attachment 4062 [details]
scheme procedure with few test case of the problem

i checked the new version the problem still exist. in two of the line of the
procedure we can see the syntax highlight lost after the word input-port the
same goes when using the word vector and probaly more.
Comment 8 Christoph Cullmann 2004-01-10 22:07:56 UTC
still there with current cvs ? weired :/
could you send little screenie as attachement of the last text testcase you submitted ? for me it looks ok, but not really sure if I just don't see the problem
Comment 9 maor 2004-01-11 19:42:12 UTC
Created attachment 4103 [details]
screen shot of test case

this is a screen shot of the test case is the same problem as before i marked
where are the problem (i'm using kdelibs kdebase cvs of 11.01.04 ).
Comment 10 maor 2004-01-11 19:43:39 UTC
Created attachment 4104 [details]
the screen shot now in the correct way
Comment 11 Christoph Cullmann 2004-01-11 22:23:57 UTC
next try in cvs :)
Comment 12 maor 2004-01-13 11:29:17 UTC
Created attachment 4136 [details]
another test case

almost ok :)
the only problem left i can see it's the test case i added now (not shure if
it's related the problem).
Comment 13 maor 2004-01-13 11:33:59 UTC
Created attachment 4137 [details]
snapshot of the test-case

the area i marked shouldn't marked as string just a regular expression.
Comment 14 Christoph Cullmann 2004-01-17 18:28:47 UTC
will let this stay a wish, have not the knowledge of scheme syntax to fix it really atm ;)
perhaps somebody who actually uses scheme and has some time to write/update our hl xml file can look at this
(thx for the screenies/help btw. ;)
Comment 15 Dominik Haumann 2004-03-12 23:57:41 UTC
maor, would you be so kind and test again?

CVS commit by dhaumann: 

- complete rewrite. This file is still backwardcompatible => KDE 3.2.x
- fix for #67357


  M +197 -149  scheme.xml   1.7
Comment 16 maor 2004-03-15 22:27:22 UTC
it's really look OK :) in all my test case
thx.
Comment 17 Dominik Haumann 2004-03-16 00:12:35 UTC
CVS commit by dhaumann: 

Cleanup, some guile specific support.
btw: you can make regions using ;BEGIN and ;END to give your code a structure.
CCMAIL: 67357@bugs.kde.org


  M +150 -54   scheme.xml   1.9