[Gambas-user] Bug in Highlight in Gambas 3.7.1

willy at ...3474... willy at ...3474...
Thu Jun 11 02:40:58 CEST 2015


Hi All,

I recently discovered that highlight fdoesn't on Gambas 3.7.1 as it did 
in previous versions.
I have a textEditor application (gbEdit) that uses a Editor (from 
qt4.ext) and heavily relies on highlight for highlighting Gambas code, 
difference files, html files, gambas webpages and so on.

As I said, this worked great with Gambas 3.5.x and Gambas 3.6.x.
I made a small project (attached) to show what I mean.

i tested it with a difference file.
Opening the file and going to menu View -> Difference file on Gambas 
3.5.4 shows a correctly highlighted difference file (see screen).

Opening the same difference file and going to menu View -> Difference 
file on Gambas 3.7.1 crashes the application (see screen).

Same goes for C, CPlusPlus, CSS, HTML, Javascript, HTML and SQL (oh and 
Webpage although it isn't in the example code attached). All work well 
on Gambas 3.5.x and 3.6.x but crash the app on Gambas 3.7.1

Is this a bug or has something changed?

gbWilly



-------------- next part --------------
A non-text attachment was scrubbed...
Name: EditorHighlight-0.0.1.tar.gz
Type: application/x-gzip
Size: 5450 bytes
Desc: not available
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20150611/ec2a45a5/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: EditorHighlight-crash-3.7.1.png
Type: image/png
Size: 22254 bytes
Desc: not available
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20150611/ec2a45a5/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: EditorHighLight-NoCrash-3.5.4.png
Type: image/png
Size: 46555 bytes
Desc: not available
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20150611/ec2a45a5/attachment-0001.png>


More information about the User mailing list