Package org.luwrain.studio.edit
Class TextEditingBase
java.lang.Object
org.luwrain.studio.edit.TextEditingBase
- All Implemented Interfaces:
HotPoint
,Editing
,TextEditing
-
Field Summary
-
Constructor Summary
ModifierConstructorDescriptionprotected
TextEditingBase
(IDE ide, File file) protected
TextEditingBase
(IDE ide, File file, int hotPointX, int hotPointY) -
Method Summary
Modifier and TypeMethodDescriptionvoid
protected EditArea.InputEventListener
protected MultilineEdit.Appearance
abstract MutableMarkedLines
protected MultilineEditCorrector
protected MultilineEdit
getEdit()
int
int
abstract AtomicBoolean
protected String[]
boolean
hasSameSource
(Editing editing) protected boolean
insertText
(String text) protected boolean
insertText
(String[] text) protected void
load()
void
onNewHotPoint
(int hotPointX, int hotPointY) protected void
replaceStr
(String replaceExp, String replaceWith) boolean
save()
protected void
setEdit
(MultilineEdit edit, MultilineEditCorrector corrector) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.luwrain.studio.TextEditing
getEditParams
-
Field Details
-
CHARSET
- See Also:
-
ide
-
file
-
source
-
-
Constructor Details
-
TextEditingBase
-
TextEditingBase
-
-
Method Details
-
getContent
-
getModified
-
load
- Throws:
IOException
-
save
- Specified by:
save
in interfaceEditing
- Throws:
IOException
-
getActions
- Specified by:
getActions
in interfaceEditing
-
closeEditing
public void closeEditing()- Specified by:
closeEditing
in interfaceEditing
-
onNewHotPoint
public void onNewHotPoint(int hotPointX, int hotPointY) - Specified by:
onNewHotPoint
in interfaceTextEditing
-
getModifiedFlag
- Specified by:
getModifiedFlag
in interfaceEditing
-
hasSameSource
- Specified by:
hasSameSource
in interfaceEditing
-
setEdit
-
getEdit
-
getCorrector
-
getRegion
-
getHotPointX
public int getHotPointX()- Specified by:
getHotPointX
in interfaceHotPoint
-
getHotPointY
public int getHotPointY()- Specified by:
getHotPointY
in interfaceHotPoint
-
getSourceCode
-
insertText
-
insertText
-
createEditAreaInputEventHook
-
replaceStr
-
getAppearance
-