gedit Pascal-Syntax-Highlighting handles some Pascal keywords as case-sensitive

Bug #161851 reported by Viktor Pankraz
4
Affects Status Importance Assigned to Milestone
gtksourceview (Ubuntu)
Fix Released
Low
Ubuntu Desktop Bugs

Bug Description

Binary package hint: gedit

Pascal language is not case-sensitive but gedit in Gnome 2.20 handles some Keywords like begin, end, function and so on as case-sensitive. For these keywords it only accepts the form with a capital letter at the beginning.

In Gnome 2.18 (Ubuntu 7.04) pascal was handled correct.

Revision history for this message
Viktor Pankraz (vipastar) wrote :

I found the reason for this behavior: There is a line missing in the pascal.lang file (in /usr/share/gtksourceview-2.0/language-specs/).

<default-regex-options case-sensitive="false"/>

Corrected file is attached.

Revision history for this message
Pedro Villavicencio (pedro) wrote :

thanks for your report.

Changed in gedit:
assignee: nobody → desktop-bugs
importance: Undecided → Low
status: New → Triaged
Revision history for this message
Lauri Niskanen (ape3000) wrote :

This is already fixed on Intrepid and Jaunty.

Changed in gtksourceview:
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.