Documentation/Source/eric5.QScintilla.Lexers.Lexer.html

changeset 58
37f0444c3479
parent 21
b88a0e6268bd
child 130
fcce4cc20d95
--- a/Documentation/Source/eric5.QScintilla.Lexers.Lexer.html	Thu Jan 14 17:27:31 2010 +0000
+++ b/Documentation/Source/eric5.QScintilla.Lexers.Lexer.html	Thu Jan 14 18:35:52 2010 +0000
@@ -22,7 +22,7 @@
 <body><a NAME="top" ID="top"></a>
 <h1>eric5.QScintilla.Lexers.Lexer</h1>
 <p>
-&#77;&#111;&#100;&#117;&#108;&#101; &#105;&#109;&#112;&#108;&#101;&#109;&#101;&#110;&#116;&#105;&#110;&#103; &#116;&#104;&#101; &#108;&#101;x&#101;&#114; &#98;&#97;&#115;&#101; &#99;&#108;&#97;&#115;&#115;.
+Module implementing the lexer base class.
 </p>
 <h3>Global Attributes</h3>
 <table>
@@ -32,7 +32,7 @@
 <table>
 <tr>
 <td><a href="#Lexer">Lexer</a></td>
-<td>&#67;&#108;&#97;&#115;&#115; &#116;&#111; &#105;&#109;&#112;&#108;&#101;&#109;&#101;&#110;&#116; &#116;&#104;&#101; &#108;&#101;x&#101;&#114; &#109;&#105;x&#105;&#110; &#99;&#108;&#97;&#115;&#115;.</td>
+<td>Class to implement the lexer mixin class.</td>
 </tr>
 </table>
 <h3>Functions</h3>
@@ -45,7 +45,7 @@
 <p>
 
 </p><p>
-    &#67;&#108;&#97;&#115;&#115; &#116;&#111; &#105;&#109;&#112;&#108;&#101;&#109;&#101;&#110;&#116; &#116;&#104;&#101; &#108;&#101;x&#101;&#114; &#109;&#105;x&#105;&#110; &#99;&#108;&#97;&#115;&#115;.
+    Class to implement the lexer mixin class.
 </p>
 <h3>Derived from</h3>
 object
@@ -57,194 +57,194 @@
 <table>
 <tr>
 <td><a href="#Lexer.__init__">Lexer</a></td>
-<td>&#67;&#111;&#110;&#115;&#116;&#114;&#117;&#99;&#116;&#111;&#114;</td>
+<td>Constructor</td>
 </tr><tr>
 <td><a href="#Lexer.alwaysKeepTabs">alwaysKeepTabs</a></td>
-<td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#99;&#104;&#101;&#99;&#107;, &#105;&#102; &#116;&#97;&#98; &#99;&#111;&#110;v&#101;&#114;&#115;&#105;&#111;&#110; &#105;&#115; &#97;&#108;&#108;&#111;w&#101;&#100;.</td>
+<td>Public method to check, if tab conversion is allowed.</td>
 </tr><tr>
 <td><a href="#Lexer.autoCompletionWordSeparators">autoCompletionWordSeparators</a></td>
-<td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#114;&#101;&#116;&#117;&#114;&#110; &#116;&#104;&#101; &#108;&#105;&#115;&#116; &#111;&#102; &#115;&#101;&#112;&#97;&#114;&#97;&#116;&#111;&#114;&#115; &#102;&#111;&#114; &#97;&#117;&#116;&#111;&#99;&#111;&#109;&#112;&#108;&#101;&#116;&#105;&#111;&#110;.</td>
+<td>Public method to return the list of separators for autocompletion.</td>
 </tr><tr>
 <td><a href="#Lexer.boxCommentStr">boxCommentStr</a></td>
-<td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#114;&#101;&#116;&#117;&#114;&#110; &#116;&#104;&#101; &#98;&#111;x &#99;&#111;&#109;&#109;&#101;&#110;&#116; &#115;&#116;&#114;&#105;&#110;&#103;&#115;.</td>
+<td>Public method to return the box comment strings.</td>
 </tr><tr>
 <td><a href="#Lexer.canBlockComment">canBlockComment</a></td>
-<td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#100;&#101;&#116;&#101;&#114;&#109;&#105;&#110;&#101;, w&#104;&#101;&#116;&#104;&#101;&#114; &#116;&#104;&#101; &#108;&#101;x&#101;&#114; &#108;&#97;&#110;&#103;&#117;&#97;&#103;&#101; &#115;&#117;&#112;&#112;&#111;&#114;&#116;&#115; &#97; &#98;&#108;&#111;&#99;&#107; &#99;&#111;&#109;&#109;&#101;&#110;&#116;.</td>
+<td>Public method to determine, whether the lexer language supports a block comment.</td>
 </tr><tr>
 <td><a href="#Lexer.canBoxComment">canBoxComment</a></td>
-<td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#100;&#101;&#116;&#101;&#114;&#109;&#105;&#110;&#101;, w&#104;&#101;&#116;&#104;&#101;&#114; &#116;&#104;&#101; &#108;&#101;x&#101;&#114; &#108;&#97;&#110;&#103;&#117;&#97;&#103;&#101; &#115;&#117;&#112;&#112;&#111;&#114;&#116;&#115; &#97; &#98;&#111;x &#99;&#111;&#109;&#109;&#101;&#110;&#116;.</td>
+<td>Public method to determine, whether the lexer language supports a box comment.</td>
 </tr><tr>
 <td><a href="#Lexer.canStreamComment">canStreamComment</a></td>
-<td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#100;&#101;&#116;&#101;&#114;&#109;&#105;&#110;&#101;, w&#104;&#101;&#116;&#104;&#101;&#114; &#116;&#104;&#101; &#108;&#101;x&#101;&#114; &#108;&#97;&#110;&#103;&#117;&#97;&#103;&#101; &#115;&#117;&#112;&#112;&#111;&#114;&#116;&#115; &#97; &#115;&#116;&#114;&#101;&#97;&#109; &#99;&#111;&#109;&#109;&#101;&#110;&#116;.</td>
+<td>Public method to determine, whether the lexer language supports a stream comment.</td>
 </tr><tr>
 <td><a href="#Lexer.commentStr">commentStr</a></td>
-<td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#114;&#101;&#116;&#117;&#114;&#110; &#116;&#104;&#101; &#99;&#111;&#109;&#109;&#101;&#110;&#116; &#115;&#116;&#114;&#105;&#110;&#103;.</td>
+<td>Public method to return the comment string.</td>
 </tr><tr>
 <td><a href="#Lexer.hasSmartIndent">hasSmartIndent</a></td>
-<td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#105;&#110;&#100;&#105;&#99;&#97;&#116;&#105;&#110;&#103; w&#104;&#101;&#116;&#104;&#101;&#114; &#108;&#101;x&#101;&#114; &#99;&#97;&#110; &#100;&#111; &#115;&#109;&#97;&#114;&#116; &#105;&#110;&#100;&#101;&#110;&#116;&#97;&#116;&#105;&#111;&#110;.</td>
+<td>Public method indicating whether lexer can do smart indentation.</td>
 </tr><tr>
 <td><a href="#Lexer.initProperties">initProperties</a></td>
-<td>&#80;&#117;&#98;&#108;&#105;&#99; &#115;&#108;&#111;&#116; &#116;&#111; &#105;&#110;&#105;&#116;&#105;&#97;&#108;&#105;z&#101; &#116;&#104;&#101; &#112;&#114;&#111;&#112;&#101;&#114;&#116;&#105;&#101;&#115;.</td>
+<td>Public slot to initialize the properties.</td>
 </tr><tr>
 <td><a href="#Lexer.isCommentStyle">isCommentStyle</a></td>
-<td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#99;&#104;&#101;&#99;&#107;, &#105;&#102; &#97; &#115;&#116;y&#108;&#101; &#105;&#115; &#97; &#99;&#111;&#109;&#109;&#101;&#110;&#116; &#115;&#116;y&#108;&#101;.</td>
+<td>Public method to check, if a style is a comment style.</td>
 </tr><tr>
 <td><a href="#Lexer.isStringStyle">isStringStyle</a></td>
-<td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#99;&#104;&#101;&#99;&#107;, &#105;&#102; &#97; &#115;&#116;y&#108;&#101; &#105;&#115; &#97; &#115;&#116;&#114;&#105;&#110;&#103; &#115;&#116;y&#108;&#101;.</td>
+<td>Public method to check, if a style is a string style.</td>
 </tr><tr>
 <td><a href="#Lexer.smartIndentLine">smartIndentLine</a></td>
-<td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#104;&#97;&#110;&#100;&#108;&#101; &#115;&#109;&#97;&#114;&#116; &#105;&#110;&#100;&#101;&#110;&#116;&#97;&#116;&#105;&#111;&#110; &#102;&#111;&#114; &#97; &#108;&#105;&#110;&#101;.</td>
+<td>Public method to handle smart indentation for a line.</td>
 </tr><tr>
 <td><a href="#Lexer.smartIndentSelection">smartIndentSelection</a></td>
-<td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#104;&#97;&#110;&#100;&#108;&#101; &#115;&#109;&#97;&#114;&#116; &#105;&#110;&#100;&#101;&#110;&#116;&#97;&#116;&#105;&#111;&#110; &#102;&#111;&#114; &#97; &#115;&#101;&#108;&#101;&#99;&#116;&#105;&#111;&#110; &#111;&#102; &#108;&#105;&#110;&#101;&#115;.</td>
+<td>Public method to handle smart indentation for a selection of lines.</td>
 </tr><tr>
 <td><a href="#Lexer.streamCommentStr">streamCommentStr</a></td>
-<td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#114;&#101;&#116;&#117;&#114;&#110; &#116;&#104;&#101; &#115;&#116;&#114;&#101;&#97;&#109; &#99;&#111;&#109;&#109;&#101;&#110;&#116; &#115;&#116;&#114;&#105;&#110;&#103;&#115;.</td>
+<td>Public method to return the stream comment strings.</td>
 </tr>
 </table>
 <a NAME="Lexer.__init__" ID="Lexer.__init__"></a>
 <h4>Lexer (Constructor)</h4>
 <b>Lexer</b>(<i></i>)
 <p>
-        &#67;&#111;&#110;&#115;&#116;&#114;&#117;&#99;&#116;&#111;&#114;
+        Constructor
 </p><a NAME="Lexer.alwaysKeepTabs" ID="Lexer.alwaysKeepTabs"></a>
 <h4>Lexer.alwaysKeepTabs</h4>
 <b>alwaysKeepTabs</b>(<i></i>)
 <p>
-        &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#99;&#104;&#101;&#99;&#107;, &#105;&#102; &#116;&#97;&#98; &#99;&#111;&#110;v&#101;&#114;&#115;&#105;&#111;&#110; &#105;&#115; &#97;&#108;&#108;&#111;w&#101;&#100;.
+        Public method to check, if tab conversion is allowed.
 </p><dl>
 <dt>Returns:</dt>
 <dd>
-&#102;&#108;&#97;&#103; &#105;&#110;&#100;&#105;&#99;&#97;&#116;&#105;&#110;&#103; &#116;&#111; &#107;&#101;&#101;&#112; &#116;&#97;&#98;&#115; (&#98;&#111;&#111;&#108;&#101;&#97;&#110;)
+flag indicating to keep tabs (boolean)
 </dd>
 </dl><a NAME="Lexer.autoCompletionWordSeparators" ID="Lexer.autoCompletionWordSeparators"></a>
 <h4>Lexer.autoCompletionWordSeparators</h4>
 <b>autoCompletionWordSeparators</b>(<i></i>)
 <p>
-        &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#114;&#101;&#116;&#117;&#114;&#110; &#116;&#104;&#101; &#108;&#105;&#115;&#116; &#111;&#102; &#115;&#101;&#112;&#97;&#114;&#97;&#116;&#111;&#114;&#115; &#102;&#111;&#114; &#97;&#117;&#116;&#111;&#99;&#111;&#109;&#112;&#108;&#101;&#116;&#105;&#111;&#110;.
+        Public method to return the list of separators for autocompletion.
 </p><dl>
 <dt>Returns:</dt>
 <dd>
-&#108;&#105;&#115;&#116; &#111;&#102; &#115;&#101;&#112;&#97;&#114;&#97;&#116;&#111;&#114;&#115; (&#108;&#105;&#115;&#116; &#111;&#102; &#115;&#116;&#114;&#105;&#110;&#103;&#115;)
+list of separators (list of strings)
 </dd>
 </dl><a NAME="Lexer.boxCommentStr" ID="Lexer.boxCommentStr"></a>
 <h4>Lexer.boxCommentStr</h4>
 <b>boxCommentStr</b>(<i></i>)
 <p>
-        &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#114;&#101;&#116;&#117;&#114;&#110; &#116;&#104;&#101; &#98;&#111;x &#99;&#111;&#109;&#109;&#101;&#110;&#116; &#115;&#116;&#114;&#105;&#110;&#103;&#115;.
+        Public method to return the box comment strings.
 </p><dl>
 <dt>Returns:</dt>
 <dd>
-&#98;&#111;x &#99;&#111;&#109;&#109;&#101;&#110;&#116; &#115;&#116;&#114;&#105;&#110;&#103;&#115; (&#100;&#105;&#99;&#116;&#105;&#111;&#110;&#97;&#114;y w&#105;&#116;&#104; &#116;&#104;&#114;&#101;&#101; &#81;&#83;&#116;&#114;&#105;&#110;&#103;&#115;)
+box comment strings (dictionary with three QStrings)
 </dd>
 </dl><a NAME="Lexer.canBlockComment" ID="Lexer.canBlockComment"></a>
 <h4>Lexer.canBlockComment</h4>
 <b>canBlockComment</b>(<i></i>)
 <p>
-        &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#100;&#101;&#116;&#101;&#114;&#109;&#105;&#110;&#101;, w&#104;&#101;&#116;&#104;&#101;&#114; &#116;&#104;&#101; &#108;&#101;x&#101;&#114; &#108;&#97;&#110;&#103;&#117;&#97;&#103;&#101; &#115;&#117;&#112;&#112;&#111;&#114;&#116;&#115; &#97; &#98;&#108;&#111;&#99;&#107; &#99;&#111;&#109;&#109;&#101;&#110;&#116;.
+        Public method to determine, whether the lexer language supports a block comment.
 </p><dl>
 <dt>Returns:</dt>
 <dd>
-&#102;&#108;&#97;&#103; (&#98;&#111;&#111;&#108;&#101;&#97;&#110;)
+flag (boolean)
 </dd>
 </dl><a NAME="Lexer.canBoxComment" ID="Lexer.canBoxComment"></a>
 <h4>Lexer.canBoxComment</h4>
 <b>canBoxComment</b>(<i></i>)
 <p>
-        &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#100;&#101;&#116;&#101;&#114;&#109;&#105;&#110;&#101;, w&#104;&#101;&#116;&#104;&#101;&#114; &#116;&#104;&#101; &#108;&#101;x&#101;&#114; &#108;&#97;&#110;&#103;&#117;&#97;&#103;&#101; &#115;&#117;&#112;&#112;&#111;&#114;&#116;&#115; &#97; &#98;&#111;x &#99;&#111;&#109;&#109;&#101;&#110;&#116;.
+        Public method to determine, whether the lexer language supports a box comment.
 </p><dl>
 <dt>Returns:</dt>
 <dd>
-&#102;&#108;&#97;&#103; (&#98;&#111;&#111;&#108;&#101;&#97;&#110;)
+flag (boolean)
 </dd>
 </dl><a NAME="Lexer.canStreamComment" ID="Lexer.canStreamComment"></a>
 <h4>Lexer.canStreamComment</h4>
 <b>canStreamComment</b>(<i></i>)
 <p>
-        &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#100;&#101;&#116;&#101;&#114;&#109;&#105;&#110;&#101;, w&#104;&#101;&#116;&#104;&#101;&#114; &#116;&#104;&#101; &#108;&#101;x&#101;&#114; &#108;&#97;&#110;&#103;&#117;&#97;&#103;&#101; &#115;&#117;&#112;&#112;&#111;&#114;&#116;&#115; &#97; &#115;&#116;&#114;&#101;&#97;&#109; &#99;&#111;&#109;&#109;&#101;&#110;&#116;.
+        Public method to determine, whether the lexer language supports a stream comment.
 </p><dl>
 <dt>Returns:</dt>
 <dd>
-&#102;&#108;&#97;&#103; (&#98;&#111;&#111;&#108;&#101;&#97;&#110;)
+flag (boolean)
 </dd>
 </dl><a NAME="Lexer.commentStr" ID="Lexer.commentStr"></a>
 <h4>Lexer.commentStr</h4>
 <b>commentStr</b>(<i></i>)
 <p>
-        &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#114;&#101;&#116;&#117;&#114;&#110; &#116;&#104;&#101; &#99;&#111;&#109;&#109;&#101;&#110;&#116; &#115;&#116;&#114;&#105;&#110;&#103;.
+        Public method to return the comment string.
 </p><dl>
 <dt>Returns:</dt>
 <dd>
-&#99;&#111;&#109;&#109;&#101;&#110;&#116; &#115;&#116;&#114;&#105;&#110;&#103; (&#115;&#116;&#114;&#105;&#110;&#103;)
+comment string (string)
 </dd>
 </dl><a NAME="Lexer.hasSmartIndent" ID="Lexer.hasSmartIndent"></a>
 <h4>Lexer.hasSmartIndent</h4>
 <b>hasSmartIndent</b>(<i></i>)
 <p>
-        &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#105;&#110;&#100;&#105;&#99;&#97;&#116;&#105;&#110;&#103; w&#104;&#101;&#116;&#104;&#101;&#114; &#108;&#101;x&#101;&#114; &#99;&#97;&#110; &#100;&#111; &#115;&#109;&#97;&#114;&#116; &#105;&#110;&#100;&#101;&#110;&#116;&#97;&#116;&#105;&#111;&#110;.
+        Public method indicating whether lexer can do smart indentation.
 </p><dl>
 <dt>Returns:</dt>
 <dd>
-&#102;&#108;&#97;&#103; &#105;&#110;&#100;&#105;&#99;&#97;&#116;&#105;&#110;&#103; &#97;v&#97;&#105;&#108;&#97;&#98;&#105;&#108;&#105;&#116;y &#111;&#102; &#115;&#109;&#97;&#114;&#116;&#73;&#110;&#100;&#101;&#110;&#116;&#76;&#105;&#110;&#101; &#97;&#110;&#100;
-            &#115;&#109;&#97;&#114;&#116;&#73;&#110;&#100;&#101;&#110;&#116;&#83;&#101;&#108;&#101;&#99;&#116;&#105;&#111;&#110; &#109;&#101;&#116;&#104;&#111;&#100;&#115; (&#98;&#111;&#111;&#108;&#101;&#97;&#110;)
+flag indicating availability of smartIndentLine and
+            smartIndentSelection methods (boolean)
 </dd>
 </dl><a NAME="Lexer.initProperties" ID="Lexer.initProperties"></a>
 <h4>Lexer.initProperties</h4>
 <b>initProperties</b>(<i></i>)
 <p>
-        &#80;&#117;&#98;&#108;&#105;&#99; &#115;&#108;&#111;&#116; &#116;&#111; &#105;&#110;&#105;&#116;&#105;&#97;&#108;&#105;z&#101; &#116;&#104;&#101; &#112;&#114;&#111;&#112;&#101;&#114;&#116;&#105;&#101;&#115;.
+        Public slot to initialize the properties.
 </p><a NAME="Lexer.isCommentStyle" ID="Lexer.isCommentStyle"></a>
 <h4>Lexer.isCommentStyle</h4>
 <b>isCommentStyle</b>(<i>style</i>)
 <p>
-        &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#99;&#104;&#101;&#99;&#107;, &#105;&#102; &#97; &#115;&#116;y&#108;&#101; &#105;&#115; &#97; &#99;&#111;&#109;&#109;&#101;&#110;&#116; &#115;&#116;y&#108;&#101;.
+        Public method to check, if a style is a comment style.
 </p><dl>
 <dt>Returns:</dt>
 <dd>
-&#102;&#108;&#97;&#103; &#105;&#110;&#100;&#105;&#99;&#97;&#116;&#105;&#110;&#103; &#97; &#99;&#111;&#109;&#109;&#101;&#110;&#116; &#115;&#116;y&#108;&#101; (&#98;&#111;&#111;&#108;&#101;&#97;&#110;)
+flag indicating a comment style (boolean)
 </dd>
 </dl><a NAME="Lexer.isStringStyle" ID="Lexer.isStringStyle"></a>
 <h4>Lexer.isStringStyle</h4>
 <b>isStringStyle</b>(<i>style</i>)
 <p>
-        &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#99;&#104;&#101;&#99;&#107;, &#105;&#102; &#97; &#115;&#116;y&#108;&#101; &#105;&#115; &#97; &#115;&#116;&#114;&#105;&#110;&#103; &#115;&#116;y&#108;&#101;.
+        Public method to check, if a style is a string style.
 </p><dl>
 <dt>Returns:</dt>
 <dd>
-&#102;&#108;&#97;&#103; &#105;&#110;&#100;&#105;&#99;&#97;&#116;&#105;&#110;&#103; &#97; &#115;&#116;&#114;&#105;&#110;&#103; &#115;&#116;y&#108;&#101; (&#98;&#111;&#111;&#108;&#101;&#97;&#110;)
+flag indicating a string style (boolean)
 </dd>
 </dl><a NAME="Lexer.smartIndentLine" ID="Lexer.smartIndentLine"></a>
 <h4>Lexer.smartIndentLine</h4>
 <b>smartIndentLine</b>(<i>editor</i>)
 <p>
-        &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#104;&#97;&#110;&#100;&#108;&#101; &#115;&#109;&#97;&#114;&#116; &#105;&#110;&#100;&#101;&#110;&#116;&#97;&#116;&#105;&#111;&#110; &#102;&#111;&#114; &#97; &#108;&#105;&#110;&#101;.
+        Public method to handle smart indentation for a line.
 </p><dl>
 <dt><i>editor</i></dt>
 <dd>
-&#114;&#101;&#102;&#101;&#114;&#101;&#110;&#99;&#101; &#116;&#111; &#116;&#104;&#101; &#81;&#83;&#99;&#105;&#110;&#116;&#105;&#108;&#108;&#97; &#101;&#100;&#105;&#116;&#111;&#114; &#111;&#98;&#106;&#101;&#99;&#116;
+reference to the QScintilla editor object
 </dd>
 </dl><a NAME="Lexer.smartIndentSelection" ID="Lexer.smartIndentSelection"></a>
 <h4>Lexer.smartIndentSelection</h4>
 <b>smartIndentSelection</b>(<i>editor</i>)
 <p>
-        &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#104;&#97;&#110;&#100;&#108;&#101; &#115;&#109;&#97;&#114;&#116; &#105;&#110;&#100;&#101;&#110;&#116;&#97;&#116;&#105;&#111;&#110; &#102;&#111;&#114; &#97; &#115;&#101;&#108;&#101;&#99;&#116;&#105;&#111;&#110; &#111;&#102; &#108;&#105;&#110;&#101;&#115;.
+        Public method to handle smart indentation for a selection of lines.
 </p><p>
-        &#78;&#111;&#116;&#101;&#58; &#84;&#104;&#101; &#97;&#115;&#115;&#117;&#109;&#112;&#116;&#105;&#111;&#110; &#105;&#115;, &#116;&#104;&#97;&#116; &#116;&#104;&#101; &#102;&#105;&#114;&#115;&#116; &#108;&#105;&#110;&#101; &#100;&#101;&#116;&#101;&#114;&#109;&#105;&#110;&#101;&#115; &#116;&#104;&#101; &#110;&#101;w
-              &#105;&#110;&#100;&#101;&#110;&#116;&#97;&#116;&#105;&#111;&#110; &#108;&#101;v&#101;&#108;.
+        Note: The assumption is, that the first line determines the new
+              indentation level.
 </p><dl>
 <dt><i>editor</i></dt>
 <dd>
-&#114;&#101;&#102;&#101;&#114;&#101;&#110;&#99;&#101; &#116;&#111; &#116;&#104;&#101; &#81;&#83;&#99;&#105;&#110;&#116;&#105;&#108;&#108;&#97; &#101;&#100;&#105;&#116;&#111;&#114; &#111;&#98;&#106;&#101;&#99;&#116;
+reference to the QScintilla editor object
 </dd>
 </dl><a NAME="Lexer.streamCommentStr" ID="Lexer.streamCommentStr"></a>
 <h4>Lexer.streamCommentStr</h4>
 <b>streamCommentStr</b>(<i></i>)
 <p>
-        &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#114;&#101;&#116;&#117;&#114;&#110; &#116;&#104;&#101; &#115;&#116;&#114;&#101;&#97;&#109; &#99;&#111;&#109;&#109;&#101;&#110;&#116; &#115;&#116;&#114;&#105;&#110;&#103;&#115;.
+        Public method to return the stream comment strings.
 </p><dl>
 <dt>Returns:</dt>
 <dd>
-&#115;&#116;&#114;&#101;&#97;&#109; &#99;&#111;&#109;&#109;&#101;&#110;&#116; &#115;&#116;&#114;&#105;&#110;&#103;&#115; (&#100;&#105;&#99;&#116;&#105;&#111;&#110;&#97;&#114;y w&#105;&#116;&#104; &#116;w&#111; &#115;&#116;&#114;&#105;&#110;&#103;&#115;)
+stream comment strings (dictionary with two strings)
 </dd>
 </dl>
 <div align="right"><a href="#top">Up</a></div>

eric ide

mercurial