Skip to content

Commit

Permalink
Minor javadoc updates and preparing for 2.5.1 release
Browse files Browse the repository at this point in the history
  • Loading branch information
bobbylight committed Nov 9, 2013
1 parent 41910e5 commit 79c7030
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ ant-classes
bin
dist
javadoc
rsyntaxtextarea_*_Source.zip
rsyntaxtextarea_*.zip
*.java~

3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ RSyntaxTextArea is available under a [modified BSD license](https://github.com/b
RSyntaxTextArea is simply a subclass of JTextComponent, so it can be dropped into any Swing application with ease.

```java
import java.awt.*;
import javax.swing.*;
import org.fife.ui.rtextarea.*;
import org.fife.ui.rsyntaxtextarea.*;

Expand All @@ -21,7 +21,6 @@ public class TextEditorDemo extends JFrame {
textArea.setSyntaxEditingStyle(SyntaxConstants.SYNTAX_STYLE_JAVA);
textArea.setCodeFoldingEnabled(true);
RTextScrollPane sp = new RTextScrollPane(textArea);
sp.setFoldIndicatorEnabled(true);
cp.add(sp);

setContentPane(cp);
Expand Down
2 changes: 1 addition & 1 deletion build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@


<!-- Set global properties for this build. -->
<property name="version" value="2.5.0"/>
<property name="version" value="2.5.1"/>
<property name="source-dir" location="src"/>
<property name="class-dir" location="ant-classes"/>
<property name="dist-dir" location="dist"/>
Expand Down
4 changes: 2 additions & 2 deletions src/org/fife/ui/rtextarea/SearchEngine.java
Original file line number Diff line number Diff line change
Expand Up @@ -639,8 +639,8 @@ private static final int makeMarkAndDotEqual(JTextArea textArea,
* Marks all instances of the specified text in this text area. This
* method is typically only called directly in response to search events
* of type <code>SearchEvent.Type.MARK_ALL</code>. "Mark all" behavior
* is automatically performed when {@link #find(JTextArea, SearchContext)
* or #replace(RTextArea, SearchContext) is called.
* is automatically performed when {@link #find(JTextArea, SearchContext)}
* or {@link #replace(RTextArea, SearchContext)} is called.
*
* @param textArea The text area in which to mark occurrences.
* @param context The search context specifying the text to search for.
Expand Down
4 changes: 2 additions & 2 deletions src/org/fife/ui/rtextarea/SmartHighlightPainter.java
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ public SmartHighlightPainter(Paint paint) {
*
* @return Whether a border is painted.
* @see #setPaintBorder(boolean)
* @see #getColor()
* @see #getPaint()
*/
public boolean getPaintBorder() {
return paintBorder;
Expand Down Expand Up @@ -149,7 +149,7 @@ public void setPaint(Paint paint) {
*
* @param paint Whether to paint a border.
* @see #getPaintBorder()
* @see #setColor(Color)
* @see #setPaint(Paint)
*/
public void setPaintBorder(boolean paint) {
this.paintBorder = paint;
Expand Down

0 comments on commit 79c7030

Please sign in to comment.