Repetier-Host Plugin  2.0.0
RepetierHostExtender.interfaces.IRepetierEditor Interface Reference

List of all members.

Public Member Functions

void AppendLine (string l)
 Add a new line at the end of the file.
void Clear ()
 Delete complete gcode in ram.
void goLayer (int lay)
void CursorDown ()
void CursorUp ()
void CursorPageDown ()
void CursorPageUp ()
void InsertChar (char c)
void DeleteChar ()
void Backspace ()
void InsertString (string s)
 Replace current selection with string.
string getSelection ()
 Get selected area.
void DeleteSelection (bool redraw)
bool SearchNext (string text)
bool SearchPrevious (string text)
void Changed ()
 Resets changed counter. When it is at zero it will update the gcod evisualization with the new gcode in the editor. This is timeconsuming, so call it regularly until changes are finished.
List< GCodeShortgetContentArray ()
 Returns a preparsed gcode as a single array. This is the array used in the editor so changes here will be visible to editor after a refresh. Only change it it main thread!
string getContent ()
 Returns content as string.
void setContent (string text)
 Set content to this string.
void fastLayerUpdate ()
 Quick update of layer count and positions.
void UpdateHelp ()
 Update help message.
void GoToRow (int line)
 Move cursor internally to this row. Does not update visual.
void GoToRowSelected (int line)
 Moves cursor internally to this row selecinting everything between last row position and new line start.

Properties

string PreferredSaveName [get, set]
int ShowMode [get, set]
 Mode of visualization. 0 = show all, 1 = show layer, 2 = show range.
int ShowMinLayer [get, set]
int ShowMaxLayer [get, set]
int MaxLayer [get, set]
int MaxCol [get, set]
int topCol [get, set]
int col [get, set]
int row [get, set]
int topRow [get, set]
bool overwrite [get, set]
string Text [get, set]
 Complete gcode as single string.
bool hasSelection [get]

Member Function Documentation

Add a new line at the end of the file.

Parameters:
l

Resets changed counter. When it is at zero it will update the gcod evisualization with the new gcode in the editor. This is timeconsuming, so call it regularly until changes are finished.

Delete complete gcode in ram.

Quick update of layer count and positions.

Returns content as string.

Returns:

Returns a preparsed gcode as a single array. This is the array used in the editor so changes here will be visible to editor after a refresh. Only change it it main thread!

Returns:

Get selected area.

Returns:

Move cursor internally to this row. Does not update visual.

Parameters:
line

Moves cursor internally to this row selecinting everything between last row position and new line start.

Parameters:
line

Replace current selection with string.

Parameters:
s

Set content to this string.

Parameters:
text

Property Documentation

Mode of visualization. 0 = show all, 1 = show layer, 2 = show range.

Complete gcode as single string.


The documentation for this interface was generated from the following file:
 All Classes Namespaces Functions Variables Enumerations Properties Events