Last change
on this file since 25584 was 25584, checked in by davidb, 12 years ago |
Initial cut an a text edit area for GLI that supports color syntax highlighting
|
File size:
695 bytes
|
Line | |
---|
1 | /*
|
---|
2 | * 08/11/2009
|
---|
3 | *
|
---|
4 | * DocumentRange.java - A range of text in a document.
|
---|
5 | *
|
---|
6 | * This library is distributed under a modified BSD license. See the included
|
---|
7 | * RSyntaxTextArea.License.txt file for details.
|
---|
8 | */
|
---|
9 | package org.fife.ui.rsyntaxtextarea;
|
---|
10 |
|
---|
11 |
|
---|
12 | /**
|
---|
13 | * A range of text in a document.
|
---|
14 | *
|
---|
15 | * @author Robert Futrell
|
---|
16 | * @version 1.0
|
---|
17 | */
|
---|
18 | public interface DocumentRange {
|
---|
19 |
|
---|
20 |
|
---|
21 | /**
|
---|
22 | * Gets the end offset of the range.
|
---|
23 | *
|
---|
24 | * @return The end offset.
|
---|
25 | * @see #getStartOffset()
|
---|
26 | */
|
---|
27 | public int getEndOffset();
|
---|
28 |
|
---|
29 |
|
---|
30 | /**
|
---|
31 | * Gets the starting offset of the range.
|
---|
32 | *
|
---|
33 | * @return The starting offset.
|
---|
34 | * @see #getEndOffset()
|
---|
35 | */
|
---|
36 | public int getStartOffset();
|
---|
37 |
|
---|
38 |
|
---|
39 | } |
---|
Note:
See
TracBrowser
for help on using the repository browser.