mirror of
https://github.com/processing/processing4.git
synced 2026-02-13 18:35:37 +01:00
fix problem with keyword highlighting ignoring case (issue #913)
This commit is contained in:
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user