Java Doc for Buffer.java in  » Swing-Library » jEdit » org » gjt » sp » jedit » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Swing Library » jEdit » org.gjt.sp.jedit 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.gjt.sp.jedit.buffer.JEditBuffer
      org.gjt.sp.jedit.Buffer

Buffer
public class Buffer extends JEditBuffer (Code)
A Buffer represents the contents of an open text file as it is maintained in the computer's memory (as opposed to how it may be stored on a disk).

In a BeanShell script, you can obtain the current buffer instance from the buffer variable.

This class does not have a public constructor. Buffers can be opened and closed using methods in the jEdit class.

This class is partially thread-safe, however you must pay attention to two very important guidelines:

  • Changes to a buffer can only be made from the AWT thread.
  • When accessing the buffer from another thread, you must grab a read lock if you plan on performing more than one call, to ensure that the buffer contents are not changed by the AWT thread for the duration of the lock. Only methods whose descriptions specify thread safety can be invoked from other threads.

author:
   Slava Pestov
version:
   $Id: Buffer.java 11199 2007-12-06 18:39:23Z k_satoda $

Inner Class :public static class TokenList extends DefaultTokenHandler

Field Summary
final public static  StringBACKED_UP
     Backed up property.
final public static  StringCARET
     Caret info properties.
final public static  StringCARET_POSITIONED
    
final public static  StringENCODING_AUTODETECT
    
final public static  intFILE_CHANGED
    
final public static  intFILE_DELETED
    
final public static  intFILE_NOT_CHANGED
    
final public static  StringGZIPPED
     This property is set to 'true' if the file should be GZipped.
final public static  StringSCROLL_HORIZ
    
final public static  StringSCROLL_VERT
    
final public static  StringSELECTION
     Stores a List of Selection instances.
final public static  StringTRAILING_EOL
     This property is set to 'true' if the file has a trailing newline.
 Buffernext
     The next buffer in the list.
 Bufferprev
     The previous buffer in the list.

Constructor Summary
 Buffer(String path, boolean newFile, boolean temp, Hashtable props)
    

Method Summary
public  voidaddBufferChangeListener(BufferChangeListener listener, int priority)
    
public  voidaddBufferChangeListener(BufferChangeListener listener)
    
public  voidaddMarker(char shortcut, int pos)
     Adds a marker to this buffer.
public  voidaddOrRemoveMarker(char shortcut, int pos)
     If a marker is set on the line of the position, it is removed.
public  voidautosave()
     Autosaves this buffer.
public  intcheckFileStatus(View view)
     Check if the buffer has changed on disk.
 voidclose()
    
 voidcommitTemporary()
    
 voideditSyntaxStyle(JEditTextArea textArea)
     Edit the syntax style of the token under the caret.
public  booleangetAutoReload()
    
public  booleangetAutoReloadDialog()
    
public  FilegetAutosaveFile()
     Returns the autosave file for this buffer.
public  StringgetContextSensitiveProperty(int offset, String name)
     Some settings, like comment start and end strings, can vary between different parts of a buffer (HTML text and inline JavaScript, for example).
public  ObjectgetDefaultProperty(String name)
    
public  StringgetDirectory()
     Returns the directory containing this buffer.
public  FilegetFile()
    
public  IcongetIcon()
     Returns this buffer's icon.
public  intgetIndex()
     Returns the position of this buffer in the buffer list.
public  longgetLastModified()
     Returns the last time jEdit modified the file on disk.
public  MarkergetMarker(char shortcut)
     Returns the marker with the specified shortcut.
public  MarkergetMarkerAtLine(int line)
     Returns the first marker at the specified line, or null if there is none.
public  MarkergetMarkerInRange(int start, int end)
     Returns the first marker within the specified range.
public  StringgetMarkerNameString()
     Returns a string of all set markers, used by the status bar (eg, "a b $ % ^").
public  StringgetMarkerStatusPrompt(String action)
     Returns the status prompt for the given marker action.
public  Vector<Marker>getMarkers()
     Returns a vector of markers.
public  StringgetMarkersPath(VFS vfs)
    
public static  StringgetMarkersPath(VFS vfs, String path)
    
public  StringgetName()
     Returns the name of this buffer.
public  BuffergetNext()
     Returns the next buffer in the list.
public  StringgetPath()
     Returns the path name of this buffer.
public  BuffergetPrev()
     Returns the previous buffer in the list.
public  StringgetSymlinkPath()
     If this file is a symbolic link, returns the link destination. Otherwise returns the file's path.
public  VFSgetVFS()
     Returns the virtual filesystem responsible for loading and saving this buffer.
public  booleaninsertFile(View view, String path)
     Loads a file from disk, and inserts it into this buffer.
public  voidinsertString(int offset, String str, AttributeSet attr)
    
public  booleanisClosed()
     Returns true if this buffer has been closed with org.gjt.sp.jedit.jEdit.closeBuffer(ViewBuffer) .
public  booleanisLoaded()
     Returns true if the buffer is loaded.
public  booleanisNewFile()
     Returns whether this buffer lacks a corresponding version on disk.
public  booleanisTemporary()
     Returns if this is a temporary buffer.
public  booleanisUntitled()
     Returns true if this file is 'untitled'.
public  booleanload(View view, boolean reload)
     Loads the buffer from disk.
public  TokenListmarkTokens(int lineIndex)
    
public  booleanmarkersChanged()
    
public  voidpropertiesChanged()
     Reloads settings from the properties.
public  voidputBooleanProperty(String name, boolean value)
    
public  voidputProperty(Object name, Object value)
    
public  voidreload(View view)
     Reloads the buffer from disk, asking for confirmation if the buffer has unsaved changes.
public  voidremoveAllMarkers()
     Removes all defined markers.
public  voidremoveAutosaveFile()
     Remove the autosave file.
public  voidremoveBufferChangeListener(BufferChangeListener listener)
    
public  voidremoveMarker(int line)
     Removes all markers at the specified line.
public  booleansave(View view, String path)
     Saves this buffer to the specified path name, or the current path name if it's null.
public  booleansave(View view, String path, boolean rename)
     Saves this buffer to the specified path name, or the current path name if it's null.
public  booleansave(View view, String path, boolean rename, boolean disableFileStatusCheck)
     Saves this buffer to the specified path name, or the current path name if it's null.
public  booleansaveAs(View view, boolean rename)
     Prompts the user for a file to save this buffer to.
public  voidsetAutoReload(boolean value)
    
public  voidsetAutoReloadDialog(boolean value)
    
public  voidsetDirty(boolean d)
     Sets the 'dirty' (changed since last save) flag of this buffer.
public  voidsetLastModified(long modTime)
     Sets the last time jEdit modified the file on disk.
public  voidsetMarkersChanged(boolean changed)
    
public  voidsetMode()
     Sets this buffer's edit mode by calling the accept() method of each registered edit mode.
public  voidsetNewFile(boolean newFile)
     Sets the new file flag.
public  voidsetWaitSocket(Socket waitSocket)
     This socket is closed when the buffer is closed.
public  StringtoString()
     Returns a string representation of this buffer.
public  voidtoggleLineSeparator(View view)
     Toggles the line separator between the three available settings.
public  voidtoggleWordWrap(View view)
     Toggles word wrap between the three available modes.
public  booleanupdateMarkersFile(View view)
     Save the markers file, or delete it when there are mo markers left Handling markers is now independent from saving the buffer.

Field Detail
BACKED_UP
final public static String BACKED_UP(Code)
Backed up property.
since:
   jEdit 3.2pre2



CARET
final public static String CARET(Code)
Caret info properties.
since:
   jEdit 3.2pre1



CARET_POSITIONED
final public static String CARET_POSITIONED(Code)



ENCODING_AUTODETECT
final public static String ENCODING_AUTODETECT(Code)
Should jEdit try to set the encoding based on a UTF8, UTF16 or XML signature at the beginning of the file?



FILE_CHANGED
final public static int FILE_CHANGED(Code)



FILE_DELETED
final public static int FILE_DELETED(Code)



FILE_NOT_CHANGED
final public static int FILE_NOT_CHANGED(Code)



GZIPPED
final public static String GZIPPED(Code)
This property is set to 'true' if the file should be GZipped.
since:
   jEdit 4.0pre4



SCROLL_HORIZ
final public static String SCROLL_HORIZ(Code)



SCROLL_VERT
final public static String SCROLL_VERT(Code)
This should be a physical line number, so that the scroll position is preserved correctly across reloads (which will affect virtual line numbers, due to fold being reset)



SELECTION
final public static String SELECTION(Code)
Stores a List of Selection instances.



TRAILING_EOL
final public static String TRAILING_EOL(Code)
This property is set to 'true' if the file has a trailing newline.
since:
   jEdit 4.0pre1



next
Buffer next(Code)
The next buffer in the list.



prev
Buffer prev(Code)
The previous buffer in the list.




Constructor Detail
Buffer
Buffer(String path, boolean newFile, boolean temp, Hashtable props)(Code)




Method Detail
addBufferChangeListener
public void addBufferChangeListener(BufferChangeListener listener, int priority)(Code)
JEditBuffer.addBufferListener(BufferListenerint)



addBufferChangeListener
public void addBufferChangeListener(BufferChangeListener listener)(Code)
JEditBuffer.addBufferListener(BufferListener)



addMarker
public void addMarker(char shortcut, int pos)(Code)
Adds a marker to this buffer.
Parameters:
  pos - The position of the marker
Parameters:
  shortcut - The shortcut ('\0' if none)
since:
   jEdit 3.2pre1



addOrRemoveMarker
public void addOrRemoveMarker(char shortcut, int pos)(Code)
If a marker is set on the line of the position, it is removed. Otherwise a new marker with the specified shortcut is added.
Parameters:
  pos - The position of the marker
Parameters:
  shortcut - The shortcut ('\0' if none)
since:
   jEdit 3.2pre5



autosave
public void autosave()(Code)
Autosaves this buffer.



checkFileStatus
public int checkFileStatus(View view)(Code)
Check if the buffer has changed on disk. One of NOT_CHANGED, CHANGED, orDELETED.
since:
   jEdit 4.2pre1



close
void close()(Code)



commitTemporary
void commitTemporary()(Code)



editSyntaxStyle
void editSyntaxStyle(JEditTextArea textArea)(Code)
Edit the syntax style of the token under the caret.
Parameters:
  textArea - the textarea where your caret is
since:
   jEdit 4.3pre11



getAutoReload
public boolean getAutoReload()(Code)
Returns the status of the AUTORELOAD flag If true, reload changed files automatically



getAutoReloadDialog
public boolean getAutoReloadDialog()(Code)
Returns the status of the AUTORELOAD_DIALOG flag If true, prompt for reloading or notify user when the file has changed on disk



getAutosaveFile
public File getAutosaveFile()(Code)
Returns the autosave file for this buffer. This may be null if the file is non-local.



getContextSensitiveProperty
public String getContextSensitiveProperty(int offset, String name)(Code)
Some settings, like comment start and end strings, can vary between different parts of a buffer (HTML text and inline JavaScript, for example).
Parameters:
  offset - The offset
Parameters:
  name - The property name
since:
   jEdit 4.0pre3



getDefaultProperty
public Object getDefaultProperty(String name)(Code)



getDirectory
public String getDirectory()(Code)
Returns the directory containing this buffer.
since:
   jEdit 4.1pre11



getFile
public File getFile()(Code)
Buffer.getPath()



getIcon
public Icon getIcon()(Code)
Returns this buffer's icon.
since:
   jEdit 2.6pre6



getIndex
public int getIndex()(Code)
Returns the position of this buffer in the buffer list.



getLastModified
public long getLastModified()(Code)
Returns the last time jEdit modified the file on disk. This method is thread-safe.



getMarker
public Marker getMarker(char shortcut)(Code)
Returns the marker with the specified shortcut.
Parameters:
  shortcut - The shortcut
since:
   jEdit 3.2pre2



getMarkerAtLine
public Marker getMarkerAtLine(int line)(Code)
Returns the first marker at the specified line, or null if there is none.
Parameters:
  line - The line number
since:
   jEdit 3.2pre2



getMarkerInRange
public Marker getMarkerInRange(int start, int end)(Code)
Returns the first marker within the specified range.
Parameters:
  start - The start offset
Parameters:
  end - The end offset
since:
   jEdit 4.0pre4



getMarkerNameString
public String getMarkerNameString()(Code)
Returns a string of all set markers, used by the status bar (eg, "a b $ % ^").
since:
   jEdit 4.2pre2



getMarkerStatusPrompt
public String getMarkerStatusPrompt(String action)(Code)
Returns the status prompt for the given marker action. Only intended to be called from actions.xml.
since:
   jEdit 4.2pre2



getMarkers
public Vector<Marker> getMarkers()(Code)
Returns a vector of markers.
since:
   jEdit 3.2pre1



getMarkersPath
public String getMarkersPath(VFS vfs)(Code)
Returns the path for this buffer's markers file
Parameters:
  vfs - The appropriate VFS
since:
   jEdit 4.3pre7Buffer.getMarkersPath(VFS,String)



getMarkersPath
public static String getMarkersPath(VFS vfs, String path)(Code)
Returns the path for this buffer's markers file
Parameters:
  vfs - The appropriate VFS
Parameters:
  path - the path of the buffer, it can be different from the fieldwhen using save-as
since:
   jEdit 4.3pre10



getName
public String getName()(Code)
Returns the name of this buffer. This method is thread-safe.



getNext
public Buffer getNext()(Code)
Returns the next buffer in the list.



getPath
public String getPath()(Code)
Returns the path name of this buffer. This method is thread-safe.



getPrev
public Buffer getPrev()(Code)
Returns the previous buffer in the list.



getSymlinkPath
public String getSymlinkPath()(Code)
If this file is a symbolic link, returns the link destination. Otherwise returns the file's path. This method is thread-safe.
since:
   jEdit 4.2pre1



getVFS
public VFS getVFS()(Code)
Returns the virtual filesystem responsible for loading and saving this buffer. This method is thread-safe.



insertFile
public boolean insertFile(View view, String path)(Code)
Loads a file from disk, and inserts it into this buffer.
Parameters:
  view - The view
Parameters:
  path - the path of the file to insert
since:
   4.0pre1



insertString
public void insertString(int offset, String str, AttributeSet attr)(Code)



isClosed
public boolean isClosed()(Code)
Returns true if this buffer has been closed with org.gjt.sp.jedit.jEdit.closeBuffer(ViewBuffer) . This method is thread-safe.



isLoaded
public boolean isLoaded()(Code)
Returns true if the buffer is loaded. This method is thread-safe.



isNewFile
public boolean isNewFile()(Code)
Returns whether this buffer lacks a corresponding version on disk. This method is thread-safe.



isTemporary
public boolean isTemporary()(Code)
Returns if this is a temporary buffer. This method is thread-safe.
See Also:   jEdit.openTemporary(ViewStringStringboolean)
See Also:   jEdit.commitTemporary(Buffer)
since:
   jEdit 2.2pre7



isUntitled
public boolean isUntitled()(Code)
Returns true if this file is 'untitled'. This method is thread-safe.



load
public boolean load(View view, boolean reload)(Code)
Loads the buffer from disk.
Parameters:
  view - The view
Parameters:
  reload - If true, user will not be asked to recover autosavefile, if any
since:
   2.5pre1



markTokens
public TokenList markTokens(int lineIndex)(Code)



markersChanged
public boolean markersChanged()(Code)
Return true when markers have changed and the markers file needs to be updated
since:
   jEdit 4.3pre7



propertiesChanged
public void propertiesChanged()(Code)
Reloads settings from the properties. This should be called after the syntax or folding buffer-local properties are changed.



putBooleanProperty
public void putBooleanProperty(String name, boolean value)(Code)



putProperty
public void putProperty(Object name, Object value)(Code)



reload
public void reload(View view)(Code)
Reloads the buffer from disk, asking for confirmation if the buffer has unsaved changes.
Parameters:
  view - The view
since:
   jEdit 2.7pre2



removeAllMarkers
public void removeAllMarkers()(Code)
Removes all defined markers.
since:
   jEdit 2.6pre1



removeAutosaveFile
public void removeAutosaveFile()(Code)
Remove the autosave file.
since:
   jEdit 4.3pre12



removeBufferChangeListener
public void removeBufferChangeListener(BufferChangeListener listener)(Code)
JEditBuffer.removeBufferListener(BufferListener)



removeMarker
public void removeMarker(int line)(Code)
Removes all markers at the specified line.
Parameters:
  line - The line number
since:
   jEdit 3.2pre2



save
public boolean save(View view, String path)(Code)
Saves this buffer to the specified path name, or the current path name if it's null.
Parameters:
  view - The view
Parameters:
  path - The path name to save the buffer to, or null to usethe existing path



save
public boolean save(View view, String path, boolean rename)(Code)
Saves this buffer to the specified path name, or the current path name if it's null.
Parameters:
  view - The view
Parameters:
  path - The path name to save the buffer to, or null to usethe existing path
Parameters:
  rename - True if the buffer's path should be changed, falseif only a copy should be saved to the specified filename
since:
   jEdit 2.6pre5



save
public boolean save(View view, String path, boolean rename, boolean disableFileStatusCheck)(Code)
Saves this buffer to the specified path name, or the current path name if it's null.
Parameters:
  view - The view
Parameters:
  path - The path name to save the buffer to, or null to usethe existing path
Parameters:
  rename - True if the buffer's path should be changed, falseif only a copy should be saved to the specified filename
Parameters:
  disableFileStatusCheck - Disables file status checkingregardless of the state of the checkFileStatus property



saveAs
public boolean saveAs(View view, boolean rename)(Code)
Prompts the user for a file to save this buffer to.
Parameters:
  view - The view
Parameters:
  rename - True if the buffer's path should be changed, falseif only a copy should be saved to the specified filename
since:
   jEdit 2.6pre5



setAutoReload
public void setAutoReload(boolean value)(Code)
Sets the status of the AUTORELOAD flag
Parameters:
  value - # If true, reload changed files automatically



setAutoReloadDialog
public void setAutoReloadDialog(boolean value)(Code)
Sets the status of the AUTORELOAD_DIALOG flag
Parameters:
  value - # If true, prompt for reloading or notify userwhen the file has changed on disk



setDirty
public void setDirty(boolean d)(Code)
Sets the 'dirty' (changed since last save) flag of this buffer.



setLastModified
public void setLastModified(long modTime)(Code)
Sets the last time jEdit modified the file on disk.
Parameters:
  modTime - The new modification time



setMarkersChanged
public void setMarkersChanged(boolean changed)(Code)
Sets/unsets the MARKERS_CHANGED flag
since:
   jEdit 4.3pre7



setMode
public void setMode()(Code)
Sets this buffer's edit mode by calling the accept() method of each registered edit mode.



setNewFile
public void setNewFile(boolean newFile)(Code)
Sets the new file flag.
Parameters:
  newFile - The new file flag



setWaitSocket
public void setWaitSocket(Socket waitSocket)(Code)
This socket is closed when the buffer is closed.



toString
public String toString()(Code)
Returns a string representation of this buffer. This simply returns the path name.



toggleLineSeparator
public void toggleLineSeparator(View view)(Code)
Toggles the line separator between the three available settings. This is used by the status bar.
Parameters:
  view - We show a message in the view's status bar
since:
   jEdit 4.1pre3



toggleWordWrap
public void toggleWordWrap(View view)(Code)
Toggles word wrap between the three available modes. This is used by the status bar.
Parameters:
  view - We show a message in the view's status bar
since:
   jEdit 4.1pre3



updateMarkersFile
public boolean updateMarkersFile(View view)(Code)
Save the markers file, or delete it when there are mo markers left Handling markers is now independent from saving the buffer. Changing markers will not set the buffer dirty any longer.
Parameters:
  view - The current view
since:
   jEdit 4.3pre7



Fields inherited from org.gjt.sp.jedit.buffer.JEditBuffer
final public static String ENCODING(Code)(Java Doc)
final public static int HIGH_PRIORITY(Code)(Java Doc)
final public static String LINESEP(Code)(Java Doc)
final public static int NORMAL_PRIORITY(Code)(Java Doc)
protected Mode mode(Code)(Java Doc)
protected Segment seg(Code)(Java Doc)
protected boolean textMode(Code)(Java Doc)
protected UndoManager undoMgr(Code)(Java Doc)

Methods inherited from org.gjt.sp.jedit.buffer.JEditBuffer
public void addBufferListener(BufferListener listener, int priority)(Code)(Java Doc)
public void addBufferListener(BufferListener listener)(Code)(Java Doc)
public void beginCompoundEdit()(Code)(Java Doc)
public Position createPosition(int offset)(Code)(Java Doc)
public void endCompoundEdit()(Code)(Java Doc)
protected void fireBufferLoaded()(Code)(Java Doc)
protected void fireContentInserted(int startLine, int offset, int numLines, int length)(Code)(Java Doc)
protected void fireContentRemoved(int startLine, int offset, int numLines, int length)(Code)(Java Doc)
protected void fireFoldHandlerChanged()(Code)(Java Doc)
protected void fireFoldLevelChanged(int start, int end)(Code)(Java Doc)
protected void firePreContentInserted(int startLine, int offset, int numLines, int length)(Code)(Java Doc)
protected void firePreContentRemoved(int startLine, int offset, int numLines, int length)(Code)(Java Doc)
protected void fireTransactionComplete()(Code)(Java Doc)
public boolean getBooleanProperty(String name)(Code)(Java Doc)
public BufferListener[] getBufferListeners()(Code)(Java Doc)
public String getContextSensitiveProperty(int offset, String name)(Code)(Java Doc)
public int getCurrentIndentForLine(int lineIndex, int[] whitespaceChars)(Code)(Java Doc)
public Object getDefaultProperty(String key)(Code)(Java Doc)
public int[] getFoldAtLine(int line)(Code)(Java Doc)
public FoldHandler getFoldHandler()(Code)(Java Doc)
public int getFoldLevel(int line)(Code)(Java Doc)
public int getIdealIndentForLine(int lineIndex)(Code)(Java Doc)
public int getIndentSize()(Code)(Java Doc)
public int getIntegerProperty(String name, int defaultValue)(Code)(Java Doc)
public KeywordMap getKeywordMapAtOffset(int offset)(Code)(Java Doc)
public int getLength()(Code)(Java Doc)
public int getLineCount()(Code)(Java Doc)
public int getLineEndOffset(int line)(Code)(Java Doc)
public int getLineLength(int line)(Code)(Java Doc)
public int getLineOfOffset(int offset)(Code)(Java Doc)
public int getLineStartOffset(int line)(Code)(Java Doc)
public String getLineText(int line)(Code)(Java Doc)
public void getLineText(int line, Segment segment)(Code)(Java Doc)
public Mode getMode()(Code)(Java Doc)
public int getOffsetOfVirtualColumn(int line, int column, int[] totalVirtualWidth)(Code)(Java Doc)
public Pattern getPatternProperty(String name, int flags)(Code)(Java Doc)
public int getPriorNonEmptyLine(int lineIndex)(Code)(Java Doc)
public Object getProperty(Object name)(Code)(Java Doc)
public ParserRuleSet getRuleSetAtOffset(int offset)(Code)(Java Doc)
public String getStringProperty(String name)(Code)(Java Doc)
public int getTabSize()(Code)(Java Doc)
public String getText(int start, int length)(Code)(Java Doc)
public void getText(int start, int length, Segment seg)(Code)(Java Doc)
public TokenMarker getTokenMarker()(Code)(Java Doc)
public int getVirtualWidth(int line, int column)(Code)(Java Doc)
public boolean indentLine(int lineIndex, boolean canIncreaseIndent, boolean canDecreaseIndent)(Code)(Java Doc)
public boolean indentLine(int lineIndex, boolean canDecreaseIndent)(Code)(Java Doc)
public void indentLines(int start, int end)(Code)(Java Doc)
public void indentLines(int[] lines)(Code)(Java Doc)
public void insert(int offset, String str)(Code)(Java Doc)
public void insert(int offset, Segment seg)(Code)(Java Doc)
public void insertAtColumn(int line, int col, String str)(Code)(Java Doc)
public int insertIndented(int offset, String text)(Code)(Java Doc)
public boolean insideCompoundEdit()(Code)(Java Doc)
public void invalidateCachedFoldLevels()(Code)(Java Doc)
protected void invalidateFoldLevels()(Code)(Java Doc)
public boolean isDirty()(Code)(Java Doc)
public boolean isEditable()(Code)(Java Doc)
public boolean isElectricKey(char ch)(Code)(Java Doc)
public boolean isElectricKey(char ch, int line)(Code)(Java Doc)
protected boolean isFileReadOnly()(Code)(Java Doc)
public boolean isFoldEnd(int line)(Code)(Java Doc)
public boolean isFoldStart(int line)(Code)(Java Doc)
public boolean isLoading()(Code)(Java Doc)
public boolean isPerformingIO()(Code)(Java Doc)
public boolean isReadOnly()(Code)(Java Doc)
public boolean isTransactionInProgress()(Code)(Java Doc)
public boolean isUndoInProgress()(Code)(Java Doc)
protected void loadText(Segment seg, IntegerArray endOffsets)(Code)(Java Doc)
public void markTokens(int lineIndex, TokenHandler tokenHandler)(Code)(Java Doc)
protected void parseBufferLocalProperties()(Code)(Java Doc)
public void propertiesChanged()(Code)(Java Doc)
public void readLock()(Code)(Java Doc)
public void readUnlock()(Code)(Java Doc)
public void redo(TextArea textArea)(Code)(Java Doc)
public void remove(int offset, int length)(Code)(Java Doc)
public void removeBufferListener(BufferListener listener)(Code)(Java Doc)
public void removeTrailingWhiteSpace(int[] lines)(Code)(Java Doc)
public void resetCachedProperties()(Code)(Java Doc)
public void setBooleanProperty(String name, boolean value)(Code)(Java Doc)
public void setDefaultProperty(String name, Object value)(Code)(Java Doc)
public void setDirty(boolean d)(Code)(Java Doc)
protected void setFileReadOnly(boolean readOnly)(Code)(Java Doc)
public void setFoldHandler(FoldHandler foldHandler)(Code)(Java Doc)
public void setIntegerProperty(String name, int value)(Code)(Java Doc)
public void setLoading(boolean loading)(Code)(Java Doc)
public void setMode(String mode)(Code)(Java Doc)
public void setMode(Mode mode)(Code)(Java Doc)
public void setPerformingIO(boolean io)(Code)(Java Doc)
public void setProperty(String name, Object value)(Code)(Java Doc)
public void setReadOnly(boolean readOnly)(Code)(Java Doc)
public void setStringProperty(String name, String value)(Code)(Java Doc)
public void setTokenMarker(TokenMarker tokenMarker)(Code)(Java Doc)
public void shiftIndentLeft(int[] lines)(Code)(Java Doc)
public void shiftIndentRight(int[] lines)(Code)(Java Doc)
public void undo(TextArea textArea)(Code)(Java Doc)
public void unsetProperty(String name)(Code)(Java Doc)
public void writeLock()(Code)(Java Doc)
public void writeUnlock()(Code)(Java Doc)

Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.