Searched refs:text (Results 1 - 25 of 70) sorted by relevance

123

/opengrok/jrcs/src/main/java/org/apache/commons/jrcs/rcs/
H A DLine.java62 * Line contains both the original text of the line, plus the node
75 Object text; field in class:Line
77 Line(Node revision, Object text) argument
79 this.text = text;
111 return text;
H A DLines.java60 import java.text.Format;
61 import java.text.MessageFormat;
68 * A list of the lines in the text of a revision annotated with the
89 public Lines(String text) argument
91 this(null, Diff.stringToArray(text));
94 public Lines(Node release, String text) argument
96 this(release, Diff.stringToArray(text));
99 public Lines(Object[] text) argument
101 this(null, text);
104 public Lines(Node release, Object[] text) argument
[all...]
H A DKeywordsFormat.java64 import java.text.Format;
65 import java.text.MessageFormat;
105 * update the given text made of RCS keywords with the appropriate
107 * @param text the input text containing the RCS keywords.
109 * @return the formatted text with the RCS keywords.
111 String update(String text, Object[] revisionInfo) argument
113 String data = text
129 * @param text the text t
132 reset(String text) argument
[all...]
H A DNode.java60 import java.text.DateFormat;
61 import java.text.Format;
62 import java.text.MessageFormat;
63 import java.text.SimpleDateFormat;
85 * <p>Nodes store the deltas between two revisions of the text.</p>
110 protected Object[] text; field in class:Node
216 * Ghost nodes have no associated text ot deltas. CVS uses
221 return version.isGhost() || text == null;
334 * Sets the text for the node's revision.
335 * <p>For archives containing binary information, the text i
[all...]
H A DArchive.java98 * <p>Within this library, the word <i>text</i> means a unit of information
100 * version of a text. Each <i>revision</i> has a <i>version number</i>
105 * <p>Revisions of a text are represented as <code>Object[]</code> because
106 * the diff engine is capable of handling more than plain text. In fact,
130 * Object[] text = archive.getRevision(versionNumber);
136 * last changed or added. To retrieve annotated text use:
139 * {@link Line Line[]} text = archive.getRevision(versionNumber);
140 * for(int i = 0; i &lt; text.length(); i++)
141 * System.out.println(text[i].revision.version);
175 * Creates a new archive and sets the text o
179 Archive(String text, String desc) argument
192 Archive(String text, String desc, String vernum) argument
205 Archive(String text, String desc, Version vernum) argument
974 addRevision(Object[] text, String log) argument
1002 addRevision(Object[] text, String vernum, String log) argument
1023 addRevision(Object[] text, Version vernum, String log) argument
1113 doKeywords(Object[] text, Node rev) argument
1144 removeKeywords(Object[] text) argument
[all...]
H A DTrunkNode.java68 * text of the previous revision is obtained.
189 for (int i = 0; i < text.length; i++)
191 original.add(new Line(root, text[i]));
/opengrok/egrok/src/org/opensolaris/opengrok/egrok/ui/
H A DTextUtils.java12 public static void setToDefault(Text text, String defaultText) { argument
13 text.setForeground(new Color(null, 0x8b, 0x89, 0x98));
14 text.setText(defaultText);
15 FontData fontData = text.getFont().getFontData()[0];
17 text.setFont(font);
18 text.setData("default", true);
21 public static void makeEditable(Text text) { argument
22 Object isdefault = text.getData("default");
25 text.setForeground(new Color(null, 0x00, 0x00, 0x00));
26 text
[all...]
H A DToolBarControl.java98 String text = searchBox.getText();
100 if (text != null && !"".equals(text)) {
101 history.add(0, text);
109 final ResultsDialog dialog = new ResultsDialog(Display.getCurrent().getActiveShell(), text, topLeft);
111 Query query = new Query(text);
H A DResultsControl.java17 import org.eclipse.jface.text.BadLocationException;
18 import org.eclipse.jface.text.IDocument;
19 import org.eclipse.jface.text.IRegion;
244 String text = labelProvider.getText(element);
258 return Pattern.matches(filterText, text);
264 int idx = text.indexOf(card);
270 text = text.substring(idx + card.length());
/opengrok/src/org/opensolaris/opengrok/search/
H A DSummary.java42 /** A fragment of text within a summary. */
44 private final String text; field in class:Summary.Fragment
46 /** Constructs a fragment for the given text. */
47 public Fragment(String text) { this.text = text; } argument
49 /** Returns the text of this fragment. */
50 public String getText() { return text; }
59 public String toString() { return htmlize(text); }
62 /** A highlighted fragment of text withi
65 Highlight(String text) argument
[all...]
H A DSummarizer.java59 * Converts text to tokens.
124 * Returns a summary for the given pre-tokenized text.
126 * @param text input text
130 public Summary getSummary(String text) throws IOException { argument
131 if (text == null) {
139 SToken[] tokens = getTokens(text); // parse text to token array
212 excerpt.add(new Summary.Fragment(text.substring(offset, t.startOffset())));
213 excerpt.add(new Summary.Highlight(text
302 getTokens(String text) argument
[all...]
/opengrok/jrcs/src/main/java/org/apache/commons/jrcs/diff/
H A DDiff.java68 * <p>Within this library, the word <i>text</i> means a unit of information
118 * @param the original text that will be compared
128 * @param o the original text which will be compared against
241 * @param text The input sequence.
245 public static Object[] editAll(Object[] text) argument
247 Object[] result = new String[text.length];
249 for(int i = 0; i < text.length; i++)
250 result[i] = text[i] + " <edited>";
257 * @param text The input sequence.
260 public static Object[] randomEdit(Object[] text) argument
271 randomEdit(Object[] text, long seed) argument
302 shuffle(Object[] text) argument
313 shuffle(Object[] text, long seed) argument
[all...]
/opengrok/src/org/opensolaris/opengrok/analysis/
H A DDefinitions.java194 public final String text; field in class:Definitions.Tag
204 protected Tag(int line, String symbol, String type, String text, String namespace, String signature) { argument
208 this.text = text;
214 public void addTag(int line, String symbol, String type, String text) { argument
215 addTag(line, symbol, type, text, null, null);
218 public void addTag(int line, String symbol, String type, String text, String namespace, String signature) { argument
219 Tag new_tag = new Tag(line, symbol, type, text, namespace, signature);
/opengrok/src/org/opensolaris/opengrok/search/context/
H A DQueryMatchers.java121 termsArray[i] = queryTerms[i].text();
130 String text = term.text();
132 caseInsensitiveTerms.add(text);
134 caseSensitiveTerms.add(text);
143 new WildCardMatcher(term.text(), isCaseInsensitive(term)));
151 new PrefixMatcher(term.text(), isCaseInsensitive(term)));
/opengrok/src/org/opensolaris/opengrok/configuration/messages/
H A DMessage.java63 protected String text; field in class:Message
97 return text;
100 public void setText(String text) { argument
101 this.text = text;
192 if (text != null && (i = getText().compareTo(m.getText())) != 0) {
205 hash = 29 * hash + (this.text == null ? 0 : this.text.hashCode());
230 if (!Objects.equals(this.text, other.text)) {
[all...]
H A DMessages.java27 import java.text.ParseException;
38 String text = null;
66 text = getopt.getOptarg();
129 if (text == null) {
130 System.err.println("No text given");
143 m.setText(text);
164 System.err.println("Messages.java" + " [OPTIONS] -t <text>");
174 System.err.println("Message text");
175 System.err.println("-t <text> text o
[all...]
/opengrok/web/default/
H A Dprint.css8 text-decoration: none;
32 text-decoration: underline;
40 text-decoration: line-through;
46 text-align: left;
132 text-align: center;
139 text-align: right;
180 input.q { /* text input fields */
201 text-decoration: underline;
205 text-decoration: underline;
249 text
[all...]
H A Dstyle.css10 text-decoration: none;
38 text-decoration: underline;
46 text-decoration: line-through;
52 text-align: left;
66 text-align: center;
70 text-decoration: none;
85 * the text inside, let's leave it for buttons though for search and clear
136 text-align: right;
292 text-align: center;
298 text
[all...]
/opengrok/web/offwhite/
H A Dprint.css8 text-decoration: none;
32 text-decoration: underline;
40 text-decoration: line-through;
46 text-align: left;
133 text-align: center;
140 text-align: right;
181 input.q { /* text input fields */
201 text-decoration: underline;
205 text-decoration: underline;
249 text
[all...]
H A Dstyle.css10 text-decoration: none;
42 text-decoration: underline;
50 text-decoration: line-through;
56 text-align: left;
70 text-align: center;
74 text-decoration: none;
136 text-align: right;
294 text-align: center;
300 text-align: right;
445 input.q { /* text inpu
[all...]
/opengrok/web/polished/
H A Dprint.css8 text-decoration: none;
32 text-decoration: underline;
40 text-decoration: line-through;
46 text-align: left;
133 text-align: center;
140 text-align: right;
181 input.q { /* text input fields */
201 text-decoration: underline;
205 text-decoration: underline;
249 text
[all...]
H A Dstyle.css10 text-decoration: none;
42 text-decoration: underline;
50 text-decoration: line-through;
56 text-align: left;
70 text-align: center;
74 text-decoration: none;
154 text-align: right;
334 text-align: center;
340 text-align: right;
489 input.q { /* text inpu
[all...]
/opengrok/src/org/opensolaris/opengrok/history/
H A DSCCSHistoryParser.java30 import java.text.DateFormat;
31 import java.text.ParseException;
32 import java.text.SimpleDateFormat;
H A DAccuRevHistoryParser.java30 import java.text.DateFormat;
31 import java.text.ParseException;
H A DClearCaseHistoryParser.java28 import java.text.DateFormat;
29 import java.text.ParseException;

Completed in 704 milliseconds

123