Skip to content

Commit 1251165

Browse files
robstrykerRob Stryker
andauthored
Fixes #1311 - move some classes from o.e.jface.text to org.eclipse.text (#1312)
* Fixes #1311 - move some classes from o.e.jface.text to org.eclipse.text Signed-off-by: Rob Stryker <[email protected]> Co-authored-by: Rob Stryker <[email protected]>
1 parent 3665f4d commit 1251165

24 files changed

+70
-6
lines changed

bundles/org.eclipse.text/META-INF/MANIFEST.MF

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ Export-Package:
99
org.eclipse.jface.text; text="split"; mandatory:="text",
1010
org.eclipse.jface.text.link; text="split"; mandatory:="text",
1111
org.eclipse.jface.text.projection,
12+
org.eclipse.jface.text.rules; text="split"; mandatory:="text",
1213
org.eclipse.jface.text.source; text="split"; mandatory:="text",
1314
org.eclipse.jface.text.templates; text="split"; mandatory:="text",
1415
org.eclipse.text.edits,

bundles/org.eclipse.jface.text/src/org/eclipse/jface/text/rules/BufferedRuleBasedScanner.java renamed to bundles/org.eclipse.text/src/org/eclipse/jface/text/rules/BufferedRuleBasedScanner.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@
2323
* A buffered rule based scanner. The buffer always contains a section
2424
* of a fixed size of the document to be scanned. Completely adheres to
2525
* the contract of <code>RuleBasedScanner</code>.
26+
*
27+
* @since 3.14
2628
*/
2729
public class BufferedRuleBasedScanner extends RuleBasedScanner {
2830

bundles/org.eclipse.jface.text/src/org/eclipse/jface/text/rules/DefaultPartitioner.java renamed to bundles/org.eclipse.text/src/org/eclipse/jface/text/rules/DefaultPartitioner.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,10 @@
4747
* partitions in the document itself rather than maintaining its own data
4848
* structure.
4949
*
50+
* Originally since 2.0 but moved to org.eclipse.text in 3.14
51+
*
5052
* @see IPartitionTokenScanner
51-
* @since 2.0
53+
* @since 3.14
5254
* @deprecated As of 3.1, replaced by {@link org.eclipse.jface.text.rules.FastPartitioner} instead
5355
*/
5456
@Deprecated

bundles/org.eclipse.jface.text/src/org/eclipse/jface/text/rules/EndOfLineRule.java renamed to bundles/org.eclipse.text/src/org/eclipse/jface/text/rules/EndOfLineRule.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,10 @@
1919
* A specific configuration of a single line rule
2020
* whereby the pattern begins with a specific sequence but
2121
* is only ended by a line delimiter.
22+
*
23+
* Originally since unknown version, but moved to org.eclipse.text in 3.14
24+
*
25+
* @since 3.14
2226
*/
2327
public class EndOfLineRule extends SingleLineRule {
2428

bundles/org.eclipse.jface.text/src/org/eclipse/jface/text/rules/FastPartitioner.java renamed to bundles/org.eclipse.text/src/org/eclipse/jface/text/rules/FastPartitioner.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,10 @@
5555
* The cached positions may be accessed through {@link #getPositions()}.
5656
* </p>
5757
*
58+
* Originally since 3.1, but moved to org.eclipse.text in 3.14
59+
*
5860
* @see IPartitionTokenScanner
59-
* @since 3.1
61+
* @since 3.14
6062
*/
6163
public class FastPartitioner implements IDocumentPartitioner, IDocumentPartitionerExtension, IDocumentPartitionerExtension2, IDocumentPartitionerExtension3 {
6264

bundles/org.eclipse.jface.text/src/org/eclipse/jface/text/rules/ICharacterScanner.java renamed to bundles/org.eclipse.text/src/org/eclipse/jface/text/rules/ICharacterScanner.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@
1818
* Defines the interface of a character scanner used by rules.
1919
* Rules may request the next character or ask the character
2020
* scanner to unread the last read character.
21+
* Originally since unknown version, but moved to org.eclipse.text in 3.14
22+
*
23+
* @since 3.14
2124
*/
2225
public interface ICharacterScanner {
2326

bundles/org.eclipse.jface.text/src/org/eclipse/jface/text/rules/IPartitionTokenScanner.java renamed to bundles/org.eclipse.text/src/org/eclipse/jface/text/rules/IPartitionTokenScanner.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,9 @@
2525
* boundary. A partition token scanner can also start in the middle of a partition,
2626
* if it knows the type of the partition.
2727
*
28-
* @since 2.0
28+
* Originally since 2.0, but moved to org.eclipse.text in 3.14
29+
*
30+
* @since 3.14
2931
*/
3032
public interface IPartitionTokenScanner extends ITokenScanner {
3133

bundles/org.eclipse.jface.text/src/org/eclipse/jface/text/rules/IPredicateRule.java renamed to bundles/org.eclipse.text/src/org/eclipse/jface/text/rules/IPredicateRule.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,10 @@
2020
* token after having successfully detected content. This token is called success token.
2121
* Also, it also returns a token indicating that this rule has not been successful.
2222
*
23+
* Originally since 2.0, but moved to org.eclipse.text in 3.14
24+
*
25+
* @since 3.14
2326
* @see ICharacterScanner
24-
* @since 2.0
2527
*/
2628
public interface IPredicateRule extends IRule {
2729

bundles/org.eclipse.jface.text/src/org/eclipse/jface/text/rules/IRule.java renamed to bundles/org.eclipse.text/src/org/eclipse/jface/text/rules/IRule.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@
1818
* Defines the interface for a rule used in the scanning of text for the purpose of document
1919
* partitioning or text styling.
2020
*
21+
* Originally since unknown version, but moved to org.eclipse.text in 3.14
22+
*
23+
* @since 3.14
2124
* @see ICharacterScanner
2225
*/
2326
public interface IRule {

bundles/org.eclipse.jface.text/src/org/eclipse/jface/text/rules/IToken.java renamed to bundles/org.eclipse.text/src/org/eclipse/jface/text/rules/IToken.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@
1616

1717
/**
1818
* A token to be returned by a rule.
19+
* Originally since unknown version, but moved to org.eclipse.text in 3.14
20+
*
21+
* @since 3.14
1922
*/
2023
public interface IToken {
2124

0 commit comments

Comments
 (0)