Robot Framework Integrated Development Environment (RIDE)
robotide.editor.customsourceeditor Namespace Reference

Classes

class  CodeEditorPanel
 Panel for the 'Code Editor' ta. More...
 
class  PythonSTC
 
class  SourceCodeEditor
 

Functions

def DoesModifiedExist (name)
 Returns whether the specified Code has a modified copy. More...
 
def GetConfig ()
 
def GetDataDir ()
 Return the standard location on this platform for application data. More...
 
def GetModifiedDirectory ()
 Returns the directory where modified versions of the Code files are stored. More...
 
def GetModifiedFilename (name)
 Returns the filename of the modified version of the specified Code. More...
 
def GetOriginalFilename (name)
 Returns the filename of the original version of the specified Code. More...
 
def isUTF8Strict (data)
 
def main (filepath, frame=None)
 
def opj (path)
 Convert paths to the platform-specific separato. More...
 

Variables

list _platformNames
 
string CodeText
 
dictionary faces
 
int modDefault = modOriginal
 
int modModified = 1
 
int modOriginal = 0
 
 path = None
 
string wildcard = "All files (*.*)|*.*|" \
 

Function Documentation

◆ DoesModifiedExist()

def robotide.editor.customsourceeditor.DoesModifiedExist (   name)

Returns whether the specified Code has a modified copy.

Definition at line 952 of file customsourceeditor.py.

◆ GetConfig()

def robotide.editor.customsourceeditor.GetConfig ( )

Definition at line 959 of file customsourceeditor.py.

◆ GetDataDir()

def robotide.editor.customsourceeditor.GetDataDir ( )

Return the standard location on this platform for application data.

Definition at line 903 of file customsourceeditor.py.

◆ GetModifiedDirectory()

def robotide.editor.customsourceeditor.GetModifiedDirectory ( )

Returns the directory where modified versions of the Code files are stored.

Definition at line 912 of file customsourceeditor.py.

◆ GetModifiedFilename()

def robotide.editor.customsourceeditor.GetModifiedFilename (   name)

Returns the filename of the modified version of the specified Code.

Definition at line 919 of file customsourceeditor.py.

◆ GetOriginalFilename()

def robotide.editor.customsourceeditor.GetOriginalFilename (   name)

Returns the filename of the original version of the specified Code.

Definition at line 928 of file customsourceeditor.py.

◆ isUTF8Strict()

def robotide.editor.customsourceeditor.isUTF8Strict (   data)

Definition at line 582 of file customsourceeditor.py.

◆ main()

def robotide.editor.customsourceeditor.main (   filepath,
  frame = None 
)

Definition at line 974 of file customsourceeditor.py.

◆ opj()

def robotide.editor.customsourceeditor.opj (   path)

Convert paths to the platform-specific separato.

Definition at line 892 of file customsourceeditor.py.

Variable Documentation

◆ _platformNames

robotide.editor.customsourceeditor._platformNames
private

Definition at line 971 of file customsourceeditor.py.

◆ CodeText

string robotide.editor.customsourceeditor.CodeText
Initial value:
1 = """\
2 ## This version of the editor has been set up to edit Python source
3 ## code. Here is a copy of wxPython/Code/Main.py to play with.
4 
5 
6 """

Definition at line 38 of file customsourceeditor.py.

◆ faces

dictionary robotide.editor.customsourceeditor.faces
Initial value:
1 = {'times': 'Times New Roman',
2  'mono': 'Courier New',
3  'helv': 'Arial',
4  'other': 'Comic Sans MS',
5  'size': 10,
6  'size2': 8,
7  }

Definition at line 49 of file customsourceeditor.py.

◆ modDefault

int robotide.editor.customsourceeditor.modDefault = modOriginal

Definition at line 577 of file customsourceeditor.py.

◆ modModified

int robotide.editor.customsourceeditor.modModified = 1

Definition at line 576 of file customsourceeditor.py.

◆ modOriginal

int robotide.editor.customsourceeditor.modOriginal = 0

Definition at line 575 of file customsourceeditor.py.

◆ path

robotide.editor.customsourceeditor.path = None

Definition at line 989 of file customsourceeditor.py.

◆ wildcard

string robotide.editor.customsourceeditor.wildcard = "All files (*.*)|*.*|" \

Definition at line 76 of file customsourceeditor.py.