Skip to content

Commit 5d8cc9a

Browse files
committed
fix missing syntax highlighting on auto-insert
1 parent 2c49278 commit 5d8cc9a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/main/java/edu/umich/soar/visualsoar/ruleeditor/RuleEditor.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1792,6 +1792,7 @@ private void complete(int pos, String userType, List<String> completeMatches) {
17921792
if (completeMatches.size() == 1) {
17931793
String matched = completeMatches.get(0);
17941794
EditingUtils.insert(editorPane.getDocument(), matched.substring(userType.length()), pos);
1795+
editorPane.colorSyntax();
17951796
return;
17961797
}
17971798

0 commit comments

Comments
 (0)