fix problem with keyword highlighting ignoring case (issue #913)

This commit is contained in:
benfry
2011-11-29 12:56:35 +00:00
parent 4ee4963fb5
commit 3cc1560dad
2 changed files with 4 additions and 2 deletions

View File

@@ -102,7 +102,7 @@ public class PdeKeywords extends TokenMarker {
*/
public void addColoring(String keyword, String coloring) {
if (keywordColoring == null) {
keywordColoring = new KeywordMap(true);
keywordColoring = new KeywordMap(false);
}
// text will be KEYWORD or LITERAL
boolean isKey = (coloring.charAt(0) == 'K');

View File

@@ -11,6 +11,8 @@ X work on code to quit if multiple instances are running
X need to bring the other instance to front
X and/or open a new window
X fix bug with 'base' not getting set in the Mac OS X platform class
X Syntax highlighting not case sensitive in 1.5 through 2.0+
X http://code.google.com/p/processing/issues/detail?id=913
X add EditorState class, device-aware placement
X get rid of restore sketch feature
_ remove pref for restoring sketches
@@ -40,7 +42,7 @@ X http://code.google.com/p/processing/issues/detail?id=635
_ renaming a normal tab to same name with ".java" fails with ".pde" version already exists
_ http://code.google.com/p/processing/issues/detail?id=776
_ undo seems to not be going to the right location
_ undo seems to not be going to the right location (now with example)
_ http://code.google.com/p/processing/issues/detail?id=668
_ casey: recent sketches is a yes, window menu could go either way