--- a/Documentation/Source/eric6.Utilities.__init__.html Sun Jul 03 16:34:45 2016 +0200 +++ b/Documentation/Source/eric6.Utilities.__init__.html Wed Jul 06 19:27:15 2016 +0200 @@ -91,6 +91,9 @@ <td><a href="#extractLineFlags">extractLineFlags</a></td> <td>Function to extract flags starting and ending with '__' from a line comment.</td> </tr><tr> +<td><a href="#filterAnsiSequences">filterAnsiSequences</a></td> +<td>Function to filter out ANSI escape sequences (color only).</td> +</tr><tr> <td><a href="#fromNativeSeparators">fromNativeSeparators</a></td> <td>Function returning a path, that is using "/" separator characters.</td> </tr><tr> @@ -730,6 +733,29 @@ </dl> <div align="right"><a href="#top">Up</a></div> <hr /><hr /> +<a NAME="filterAnsiSequences" ID="filterAnsiSequences"></a> +<h2>filterAnsiSequences</h2> +<b>filterAnsiSequences</b>(<i>txt</i>) +<p> + Function to filter out ANSI escape sequences (color only). +</p><dl> +<dt><i>txt</i> (str)</dt> +<dd> +text to be filtered +</dd> +</dl><dl> +<dt>Returns:</dt> +<dd> +text without ANSI escape sequences +</dd> +</dl><dl> +<dt>Return Type:</dt> +<dd> +str +</dd> +</dl> +<div align="right"><a href="#top">Up</a></div> +<hr /><hr /> <a NAME="fromNativeSeparators" ID="fromNativeSeparators"></a> <h2>fromNativeSeparators</h2> <b>fromNativeSeparators</b>(<i>path</i>)