Last change
on this file since 193 was
193,
checked in by Maciej Komosinski, 10 years ago
|
Set svn:eol-style native for all textual files
|
-
Property svn:eol-style set to
native
-
Property svn:mime-type set to
text/plain
|
File size:
539 bytes
|
Line | |
---|
1 | package com.framsticks.framclipse.syntaxColoring; |
---|
2 | |
---|
3 | import org.eclipse.jface.text.rules.IWordDetector; |
---|
4 | |
---|
5 | /** |
---|
6 | * A Framscript aware word detector. |
---|
7 | */ |
---|
8 | public class FramscriptWordDetector implements IWordDetector { |
---|
9 | |
---|
10 | /* |
---|
11 | * (non-Javadoc) Method declared on IWordDetector. |
---|
12 | */ |
---|
13 | public boolean isWordPart(char character) { |
---|
14 | return Character.isJavaIdentifierPart(character); |
---|
15 | } |
---|
16 | |
---|
17 | /* |
---|
18 | * (non-Javadoc) Method declared on IWordDetector. |
---|
19 | */ |
---|
20 | public boolean isWordStart(char character) { |
---|
21 | return Character.isJavaIdentifierStart(character); |
---|
22 | } |
---|
23 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.