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

Public Member Functions

void AppendLine (string l)
 Add a new line at the end of the file. More...
 
void Clear ()
 Delete complete gcode in ram. More...
 
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 More...
 
string getSelection ()
 Get selected area. More...
 
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. More...
 
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! More...
 
string getContent ()
 Returns content as string More...
 
void setContent (string text)
 Set content to this string. More...
 
void fastLayerUpdate ()
 Quick update of layer count and positions. More...
 
void UpdateHelp ()
 Update help message. More...
 
void GoToRow (int line)
 Move cursor internally to this row. Does not update visual. More...
 
void GoToRowSelected (int line)
 Moves cursor internally to this row selecinting everything between last row position and new line start. More...
 

Properties

string PreferredSaveName [get, set]
 
int ShowMode [get, set]
 Mode of visualization. 0 = show all, 1 = show layer, 2 = show range More...
 
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. More...
 
bool hasSelection [get]
 

Member Function Documentation

◆ AppendLine()

void RepetierHostExtender.interfaces.IRepetierEditor.AppendLine ( string  l)

Add a new line at the end of the file.

Parameters
l

◆ Changed()

void RepetierHostExtender.interfaces.IRepetierEditor.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.

◆ Clear()

void RepetierHostExtender.interfaces.IRepetierEditor.Clear ( )

Delete complete gcode in ram.

◆ fastLayerUpdate()

void RepetierHostExtender.interfaces.IRepetierEditor.fastLayerUpdate ( )

Quick update of layer count and positions.

◆ getContent()

string RepetierHostExtender.interfaces.IRepetierEditor.getContent ( )

Returns content as string

Returns

◆ getContentArray()

List<GCodeShort> RepetierHostExtender.interfaces.IRepetierEditor.getContentArray ( )

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

◆ getSelection()

string RepetierHostExtender.interfaces.IRepetierEditor.getSelection ( )

Get selected area.

Returns

◆ GoToRow()

void RepetierHostExtender.interfaces.IRepetierEditor.GoToRow ( int  line)

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

Parameters
line

◆ GoToRowSelected()

void RepetierHostExtender.interfaces.IRepetierEditor.GoToRowSelected ( int  line)

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

Parameters
line

◆ InsertString()

void RepetierHostExtender.interfaces.IRepetierEditor.InsertString ( string  s)

Replace current selection with string

Parameters
s

◆ setContent()

void RepetierHostExtender.interfaces.IRepetierEditor.setContent ( string  text)

Set content to this string.

Parameters
text

◆ UpdateHelp()

void RepetierHostExtender.interfaces.IRepetierEditor.UpdateHelp ( )

Update help message.

Property Documentation

◆ ShowMode

int RepetierHostExtender.interfaces.IRepetierEditor.ShowMode
getset

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

◆ Text

string RepetierHostExtender.interfaces.IRepetierEditor.Text
getset

Complete gcode as single string.


The documentation for this interface was generated from the following file:
About Us | Privacy Policy