mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
added _ and - as word
This commit is contained in:
parent
7fdbbd63a3
commit
45e5950f0e
1 changed files with 1 additions and 1 deletions
|
@ -167,7 +167,7 @@ public class MakefileEditor extends TextEditor implements ISelectionChangedListe
|
|||
for (len = 0; len < var.length(); len++) {
|
||||
char c = var.charAt(len);
|
||||
//if (! (Character.isLetterOrDigit(c) || c == '.' || c == '_')) {
|
||||
if (!(detector.isWordPart(c) || detector.isWordStart(c))) {
|
||||
if (!(detector.isWordPart(c) || detector.isWordStart(c) || c == '-' || c == '_')) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue