You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/source/scintilla.rst
+34-34Lines changed: 34 additions & 34 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1505,12 +1505,12 @@ Scintilla Methods
1505
1505
1506
1506
.. method:: Editor.replaceTargetRE(text) -> int
1507
1507
1508
-
Replace the target text with the argument text after \d processing.
1508
+
Replace the target text with the argument text after \\d processing.
1509
1509
Text is counted so it can contain NULs.
1510
-
Looks for \d where d is between 1 and 9 and replaces these with the strings
1511
-
matched in the last search operation which were surrounded by \( and \).
1510
+
Looks for \\d where d is between 1 and 9 and replaces these with the strings
1511
+
matched in the last search operation which were surrounded by \\( and \\).
1512
1512
Returns the length of the replacement text including any change
1513
-
caused by processing the \d patterns.
1513
+
caused by processing the \\d patterns.
1514
1514
1515
1515
See Scintilla documentation for `SCI_REPLACETARGETRE <http://www.scintilla.org/ScintillaDoc.html#SCI_REPLACETARGETRE>`_
1516
1516
@@ -4017,7 +4017,7 @@ Scintilla Methods
4017
4017
4018
4018
.. method:: Editor.propertyNames() -> str
4019
4019
4020
-
Retrieve a '\n' separated list of properties understood by the current lexer.
4020
+
Retrieve a '\\n' separated list of properties understood by the current lexer.
4021
4021
4022
4022
See Scintilla documentation for `SCI_PROPERTYNAMES <http://www.scintilla.org/ScintillaDoc.html#SCI_PROPERTYNAMES>`_
4023
4023
@@ -4035,7 +4035,7 @@ Scintilla Methods
4035
4035
4036
4036
.. method:: Editor.describeKeyWordSets() -> str
4037
4037
4038
-
Retrieve a '\n' separated list of descriptions of the keyword sets understood by the current lexer.
4038
+
Retrieve a '\\n' separated list of descriptions of the keyword sets understood by the current lexer.
4039
4039
4040
4040
See Scintilla documentation for `SCI_DESCRIBEKEYWORDSETS <http://www.scintilla.org/ScintillaDoc.html#SCI_DESCRIBEKEYWORDSETS>`_
4041
4041
@@ -4243,7 +4243,7 @@ Helper Methods
4243
4243
Note that ``Editor`` callbacks are processed *asynchronously* by default. What this means in practice is that your event handler function
4244
4244
(saveCurrentDoc in the previous example) is called just after the event has fired. If the callback handler is slow, and the callbacks occur quickly, you
4245
4245
could get "behind". Callbacks are placed in a queue and processed in the order they arrived. If you need to do something before letting the user continue, you
4246
-
can use :method:`Editor.callbackSync`, which adds a synchronous callback.
4246
+
can use :meth:`Editor.callbackSync`, which adds a synchronous callback.
What this means is that the handler function is called, and must complete, before control is returned to the user. If you perform a slow operation in your handler
4254
4254
function, this will have an effect on the speed of Notepad++ for the user (i.e. Notepad++ may appear to have "locked up", whilst your event processes).
4255
4255
4256
-
Synchronous callbacks are mostly used for calling :method:`Editor.autoCCancel` in response to :class:`SCINTILLANOTIFICATION.AUTOCSELECTION`, but could be used for
4256
+
Synchronous callbacks are mostly used for calling :meth:`Editor.autoCCancel` in response to :class:`SCINTILLANOTIFICATION.AUTOCSELECTION`, but could be used for
4257
4257
anything where the timing of the handler function is critical.
0 commit comments