Bug 447088 - Syntax highlighting doesn't enable on new files automatically
Summary: Syntax highlighting doesn't enable on new files automatically
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: anjuta
Version: 9
Hardware: x86_64
OS: Linux
low
medium
Target Milestone: ---
Assignee: Debarshi Ray
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-05-17 19:33 UTC by Harry Bock
Modified: 2008-07-16 18:44 UTC (History)
0 users

Fixed In Version: anjuta-2.4.1-1.fc9
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-07-16 18:44:20 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Harry Bock 2008-05-17 19:33:11 UTC
Description of problem:
When creating a new file and saving it with your programming language extension
of choice, syntax highlighted is not initially enabled, even when "Disable
syntax highlighting" is unchecked in Preferences. This only occurs with the
Scintilla editor; GtkSourceView is not affected. If you check and uncheck that
setting, it works as expected from that point on. Opening existing files also
works as expected.

Version-Release number of selected component (if applicable):
2.2.3-7.fc9

Steps to Reproduce:
1. Enable the Scintilla editor.
2. Ensure "disable syntax highlighting is NOT checked in Preferences
3. Create a new file in Anjuta.
4. Save as "whatever.c"
5. Start coding.
  
Actual results:
No syntax highlighting

Expected results:
Syntax highlighting

Additional info:
Works for any language, but only in the Scintilla editor.  It might be better
for that checkbox to be "Enable Syntax Highlighting" and be checked by default,
that makes more sense to me.

Comment 1 Debarshi Ray 2008-05-24 16:08:03 UTC
I am unable to reproduce it on Fedora 8 x86_64. Upstream says that he can not
reproduce it with the SVN snapshot.

Comment 2 Debarshi Ray 2008-05-25 18:51:43 UTC
Could not reproduce with Anjuta 2.4.1 on x86_64 either.

Comment 3 Harry Bock 2008-05-29 03:58:30 UTC
Running anjuta-2.4.1-1.fc9 from updates-testing, this issue is FIXED! :) Thanks
for the update, 2.4.1 seems much faster too!


Note You need to log in before you can comment on or make changes to this bug.