diff options
| author | nyamatongwe <unknown> | 2000-06-22 05:49:23 +0000 |
|---|---|---|
| committer | nyamatongwe <unknown> | 2000-06-22 05:49:23 +0000 |
| commit | 4eefcbc170bbb0647d4828dbc1a0f93399e2db95 (patch) | |
| tree | db5d343bf3d8659d6ff407cf54b7ace346aa3a8e /include/Scintilla.iface | |
| parent | b6aa84d73f7df6d3fa8dbe46c01aec9d8f307853 (diff) | |
| download | scintilla-mirror-4eefcbc170bbb0647d4828dbc1a0f93399e2db95.tar.gz | |
Removed deprecated APIs.
Added gets to match sets for UndoCollection, BufferedDraw, CodePage,
UsePalette, ReadOnly, CaretFore, and ModEventMask.
Undo collection status is a bool again - enumeration deprecated.
Timing code commented out.
Diffstat (limited to 'include/Scintilla.iface')
| -rw-r--r-- | include/Scintilla.iface | 26 |
1 files changed, 22 insertions, 4 deletions
diff --git a/include/Scintilla.iface b/include/Scintilla.iface index 1343cbfdc..d2195d3ef 100644 --- a/include/Scintilla.iface +++ b/include/Scintilla.iface @@ -81,12 +81,9 @@ get int GetStyleAt=2010(position pos,) # Redoes the next action on the undo history fun void Redo=2011(,) -val SC_UNDOCOLLECT_NONE=0 -val SC_UNDOCOLLECT_AUTOSTART=1 - # Choose between collecting actions into the undo # history and discarding them. -set void SetUndoCollection=2012(int collectUndo,) +set void SetUndoCollection=2012(bool collectUndo,) # Select all the text in the document. fun void SelectAll=2013(,) @@ -108,6 +105,9 @@ fun int MarkerLineFromHandle=2017(int handle,) # Delete a marker. fun void MarkerDeleteHandle=2018(int handle,) +# Is undo history being collected? +get bool GetUndoCollection=2019(,) + val SCWS_INVISIBLE=0 val SCWS_VISIBLEALWAYS=1 val SCWS_VISIBLEAFTERINDENT=2 @@ -158,6 +158,9 @@ fun void StartStyling=2032(position pos, int mask) # and move the current styling position to after this newly styled segment. fun void SetStyling=2033(int length, int style) +# Is drawing done first into a buffer or direct to the screen. +get bool GetBufferedDraw=2034(,) + # If drawing is buffered then each line of text is drawn into a bitmap buffer # before drawing it to the screen to avoid flicker. set void SetBufferedDraw=2035(bool buffered,) @@ -466,6 +469,18 @@ get int GetHighlightGuide=2135(,) # Get the position after the last visible characters on a line. get int GetLineEndPosition=2136(int line,) +# Get the code page used to interpret the bytes of the document as characters. +get int GetCodePage=2137(,) + +# Get the foreground colour of the caret. +get colour GetCaretFore=2138(,) + +# In palette mode? +get bool GetUsePalette=2139(,) + +# In read-only mode? +get bool GetReadOnly=2140(,) + # Show a call tip containing a definition near position pos. fun void CallTipShow=2200(position pos, string definition) @@ -758,6 +773,9 @@ fun void AddRefDocument=2376(, int doc) # Release a reference to the document, deleting document if it fades to black. fun void ReleaseDocument=2377(, int doc) +# Get which document modification events are sent to the container. +get int GetModEventMask=2378(,) + # Set the focus to this Scintilla widget. fun void GrabFocus=2400(,) |
