Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
af3
AF3
Commits
f5a67a2f
Commit
f5a67a2f
authored
Jul 17, 2012
by
Christoph Döbber
Browse files
fixed underscore highlighting bug
refs 923
parent
c9a8d301
Changes
1
Hide whitespace changes
Inline
Side-by-side
org.fortiss.af3.component.ui/trunk/src/org/fortiss/af3/component/ui/editor/code/CodeEditorConfiguration.java
View file @
f5a67a2f
...
...
@@ -64,7 +64,7 @@ import org.fortiss.tooling.base.ui.fieldassist.FieldAssistImageRegistry;
* @author doebber
* @author $Author$
* @version $Rev$
* @ConQAT.Rating YELLOW Hash:
4B9D6DF1E19BD1C87DCA808C3E6F6D4A
* @ConQAT.Rating YELLOW Hash:
DB551994CC16796F16474B3A102399EC
*/
public
class
CodeEditorConfiguration
extends
SourceViewerConfiguration
{
...
...
@@ -215,7 +215,7 @@ public class CodeEditorConfiguration extends SourceViewerConfiguration {
/** {@inheritDoc} */
@Override
public
boolean
isWordPart
(
char
c
)
{
return
Character
.
isLetterOrDigit
(
c
);
return
Character
.
isLetterOrDigit
(
c
)
||
c
==
'_'
;
}
};
WordRule
keywordsRule
=
new
WordRule
(
detector
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment