From 3cc1560dad1c4e083c686160bd3cd0cd0b9e8a0b Mon Sep 17 00:00:00 2001 From: benfry Date: Tue, 29 Nov 2011 12:56:35 +0000 Subject: [PATCH] fix problem with keyword highlighting ignoring case (issue #913) --- app/src/processing/app/syntax/PdeKeywords.java | 2 +- todo.txt | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/app/src/processing/app/syntax/PdeKeywords.java b/app/src/processing/app/syntax/PdeKeywords.java index ea7692e31..2f7ce32cc 100644 --- a/app/src/processing/app/syntax/PdeKeywords.java +++ b/app/src/processing/app/syntax/PdeKeywords.java @@ -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'); diff --git a/todo.txt b/todo.txt index c8e675aaa..9de6966a5 100644 --- a/todo.txt +++ b/todo.txt @@ -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