code-google-com / qdevelop

Automatically exported from code.google.com/p/qdevelop
GNU General Public License v2.0
1 stars 1 forks source link

Improved printWhiteSpacesAndMatching #281

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Thanks a lot for the great software. I learned some nice tricks from
QDevelop source code as I looked for bracket matching solution for FreeMat
Editor.

I found the way matched brackets in QDevelop is highlighted (using a red
line) very unclean. Though it looks OK with 10 point font, however the red
line will misalign with the bracket if the font size in the editor changes.
A much better way to draw the red line is by using the distance of the
cursor as it moves 1 character.

I attach my patch to improve the matching highlight. The bracket highlight
will look as nice as in other C editors.

Chuong

Original issue reported on code.google.com by chuongr...@gmail.com on 27 May 2008 at 8:14

Attachments:

GoogleCodeExporter commented 9 years ago
Fixed in revision 326

Original comment by jlbi...@gmail.com on 27 May 2008 at 6:54