--- a/src/eric7/Documentation/Source/eric7.Utilities.__init__.html Thu Sep 26 09:48:49 2024 +0200 +++ b/src/eric7/Documentation/Source/eric7.Utilities.__init__.html Thu Sep 26 15:49:36 2024 +0200 @@ -13,11 +13,7 @@ <h3>Global Attributes</h3> <table> -<tr><td>_escape</td></tr> -<tr><td>_escape_map</td></tr> <tr><td>_slashmap</td></tr> -<tr><td>_uescape</td></tr> -<tr><td>_uunescape</td></tr> <tr><td>codingBytes_regexps</td></tr> <tr><td>coding_regexps</td></tr> <tr><td>supportedCodecs</td></tr> @@ -50,14 +46,6 @@ <td>Function to decode some byte text into a string.</td> </tr> <tr> -<td><a href="#decodeBytes">decodeBytes</a></td> -<td>Function to decode some byte text into a string.</td> -</tr> -<tr> -<td><a href="#decodeString">decodeString</a></td> -<td>Function to decode a string containing Unicode encoded characters.</td> -</tr> -<tr> <td><a href="#decodeWithEncoding">decodeWithEncoding</a></td> <td>Function to decode some byte text into a string.</td> </tr> @@ -66,14 +54,6 @@ <td>Function to encode text into a byte text.</td> </tr> <tr> -<td><a href="#escape_entities">escape_entities</a></td> -<td>Function to encode html entities.</td> -</tr> -<tr> -<td><a href="#escape_uentities">escape_uentities</a></td> -<td>Function to encode html entities.</td> -</tr> -<tr> <td><a href="#extractFlags">extractFlags</a></td> <td>Function to extract eric specific flags out of the given text.</td> </tr> @@ -142,18 +122,6 @@ <td>Function to get the coding of a bytes text.</td> </tr> <tr> -<td><a href="#html_encode">html_encode</a></td> -<td>Function to correctly encode a text for html.</td> -</tr> -<tr> -<td><a href="#html_udecode">html_udecode</a></td> -<td>Function to correctly decode a html text to a unicode text.</td> -</tr> -<tr> -<td><a href="#html_uencode">html_uencode</a></td> -<td>Function to correctly encode a unicode text for html.</td> -</tr> -<tr> <td><a href="#linesep">linesep</a></td> <td>Function to return the line separator used by the editor.</td> </tr> @@ -178,10 +146,6 @@ <td>Function to read a file, calculate a hash value and decode its contents into proper text.</td> </tr> <tr> -<td><a href="#readStringFromStream">readStringFromStream</a></td> -<td>Module function to read a string from the given stream.</td> -</tr> -<tr> <td><a href="#rxIndex">rxIndex</a></td> <td>Function to get the index (start position) of a regular expression match within some text.</td> </tr> @@ -190,10 +154,6 @@ <td>Function to convert an escaped string to a string containing escape codes.</td> </tr> <tr> -<td><a href="#unescape_uentities">unescape_uentities</a></td> -<td>Function to decode html entities.</td> -</tr> -<tr> <td><a href="#unslash">unslash</a></td> <td>Function to convert a string containing escape codes to an escaped string.</td> </tr> @@ -436,64 +396,6 @@ <div align="right"><a href="#top">Up</a></div> <hr /> <hr /> -<a NAME="decodeBytes" ID="decodeBytes"></a> -<h2>decodeBytes</h2> -<b>decodeBytes</b>(<i>buffer</i>) -<p> - Function to decode some byte text into a string. -</p> - -<dl> - -<dt><i>buffer</i> (bytes)</dt> -<dd> -byte buffer to decode -</dd> -</dl> -<dl> -<dt>Return:</dt> -<dd> -decoded text -</dd> -</dl> -<dl> -<dt>Return Type:</dt> -<dd> -str -</dd> -</dl> -<div align="right"><a href="#top">Up</a></div> -<hr /> -<hr /> -<a NAME="decodeString" ID="decodeString"></a> -<h2>decodeString</h2> -<b>decodeString</b>(<i>text</i>) -<p> - Function to decode a string containing Unicode encoded characters. -</p> - -<dl> - -<dt><i>text</i> (str)</dt> -<dd> -text containing encoded chars -</dd> -</dl> -<dl> -<dt>Return:</dt> -<dd> -decoded text -</dd> -</dl> -<dl> -<dt>Return Type:</dt> -<dd> -str -</dd> -</dl> -<div align="right"><a href="#top">Up</a></div> -<hr /> -<hr /> <a NAME="decodeWithEncoding" ID="decodeWithEncoding"></a> <h2>decodeWithEncoding</h2> <b>decodeWithEncoding</b>(<i>text, encoding</i>) @@ -572,68 +474,6 @@ <div align="right"><a href="#top">Up</a></div> <hr /> <hr /> -<a NAME="escape_entities" ID="escape_entities"></a> -<h2>escape_entities</h2> -<b>escape_entities</b>(<i>m, escmap=_escape_map</i>) -<p> - Function to encode html entities. -</p> - -<dl> - -<dt><i>m</i> (re.Match)</dt> -<dd> -the match object -</dd> -<dt><i>escmap</i> (dict)</dt> -<dd> -the map of entities to encode -</dd> -</dl> -<dl> -<dt>Return:</dt> -<dd> -the converted text -</dd> -</dl> -<dl> -<dt>Return Type:</dt> -<dd> -str -</dd> -</dl> -<div align="right"><a href="#top">Up</a></div> -<hr /> -<hr /> -<a NAME="escape_uentities" ID="escape_uentities"></a> -<h2>escape_uentities</h2> -<b>escape_uentities</b>(<i>m</i>) -<p> - Function to encode html entities. -</p> - -<dl> - -<dt><i>m</i> (re.Match)</dt> -<dd> -the match object -</dd> -</dl> -<dl> -<dt>Return:</dt> -<dd> -the converted text -</dd> -</dl> -<dl> -<dt>Return Type:</dt> -<dd> -str -</dd> -</dl> -<div align="right"><a href="#top">Up</a></div> -<hr /> -<hr /> <a NAME="extractFlags" ID="extractFlags"></a> <h2>extractFlags</h2> <b>extractFlags</b>(<i>text</i>) @@ -1159,105 +999,6 @@ <div align="right"><a href="#top">Up</a></div> <hr /> <hr /> -<a NAME="html_encode" ID="html_encode"></a> -<h2>html_encode</h2> -<b>html_encode</b>(<i>text, pattern=_escape</i>) -<p> - Function to correctly encode a text for html. -</p> - -<dl> - -<dt><i>text</i> (str)</dt> -<dd> -text to be encoded -</dd> -<dt><i>pattern</i> (str)</dt> -<dd> -search pattern for text to be encoded -</dd> -</dl> -<dl> -<dt>Return:</dt> -<dd> -the encoded text -</dd> -</dl> -<dl> -<dt>Return Type:</dt> -<dd> -str -</dd> -</dl> -<div align="right"><a href="#top">Up</a></div> -<hr /> -<hr /> -<a NAME="html_udecode" ID="html_udecode"></a> -<h2>html_udecode</h2> -<b>html_udecode</b>(<i>text, pattern=_uunescape</i>) -<p> - Function to correctly decode a html text to a unicode text. -</p> - -<dl> - -<dt><i>text</i> (str)</dt> -<dd> -text to be decoded -</dd> -<dt><i>pattern</i> (str)</dt> -<dd> -search pattern for text to be decoded -</dd> -</dl> -<dl> -<dt>Return:</dt> -<dd> -the decoded text -</dd> -</dl> -<dl> -<dt>Return Type:</dt> -<dd> -str -</dd> -</dl> -<div align="right"><a href="#top">Up</a></div> -<hr /> -<hr /> -<a NAME="html_uencode" ID="html_uencode"></a> -<h2>html_uencode</h2> -<b>html_uencode</b>(<i>text, pattern=_uescape</i>) -<p> - Function to correctly encode a unicode text for html. -</p> - -<dl> - -<dt><i>text</i> (str)</dt> -<dd> -text to be encoded -</dd> -<dt><i>pattern</i> (str)</dt> -<dd> -search pattern for text to be encoded -</dd> -</dl> -<dl> -<dt>Return:</dt> -<dd> -the encoded text -</dd> -</dl> -<dl> -<dt>Return Type:</dt> -<dd> -str -</dd> -</dl> -<div align="right"><a href="#top">Up</a></div> -<hr /> -<hr /> <a NAME="linesep" ID="linesep"></a> <h2>linesep</h2> <b>linesep</b>(<i></i>) @@ -1430,35 +1171,6 @@ <div align="right"><a href="#top">Up</a></div> <hr /> <hr /> -<a NAME="readStringFromStream" ID="readStringFromStream"></a> -<h2>readStringFromStream</h2> -<b>readStringFromStream</b>(<i>stream</i>) -<p> - Module function to read a string from the given stream. -</p> - -<dl> - -<dt><i>stream</i> (QDataStream)</dt> -<dd> -data stream opened for reading -</dd> -</dl> -<dl> -<dt>Return:</dt> -<dd> -string read from the stream -</dd> -</dl> -<dl> -<dt>Return Type:</dt> -<dd> -str -</dd> -</dl> -<div align="right"><a href="#top">Up</a></div> -<hr /> -<hr /> <a NAME="rxIndex" ID="rxIndex"></a> <h2>rxIndex</h2> <b>rxIndex</b>(<i>rx, txt</i>) @@ -1525,35 +1237,6 @@ <div align="right"><a href="#top">Up</a></div> <hr /> <hr /> -<a NAME="unescape_uentities" ID="unescape_uentities"></a> -<h2>unescape_uentities</h2> -<b>unescape_uentities</b>(<i>m</i>) -<p> - Function to decode html entities. -</p> - -<dl> - -<dt><i>m</i> (re.Match)</dt> -<dd> -the match object -</dd> -</dl> -<dl> -<dt>Return:</dt> -<dd> -the converted text -</dd> -</dl> -<dl> -<dt>Return Type:</dt> -<dd> -str -</dd> -</dl> -<div align="right"><a href="#top">Up</a></div> -<hr /> -<hr /> <a NAME="unslash" ID="unslash"></a> <h2>unslash</h2> <b>unslash</b>(<i>txt</i>)