<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> <title>QextScintillaMacro class Reference</title> <link href="doxygen.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.2.18 --> <center> <a class="qindex" href="index.html">Main Page</a> <a class="qindex" href="hierarchy.html">Class Hierarchy</a> <a class="qindex" href="annotated.html">Compound List</a> <a class="qindex" href="functions.html">Compound Members</a> </center> <hr><h1>QextScintillaMacro Class Reference</h1>The QextScintillaMacro class represents a sequence of recordable editor commands. <a href="#_details">More...</a> <p> <code>#include <qextscintillamacro.h></code> <p> <a href="classQextScintillaMacro-members.html">List of all members.</a><h2>Public Slots</h2> <ul> <li>virtual void <a class="el" href="classQextScintillaMacro.html#g0">play</a> () <li>virtual void <a class="el" href="classQextScintillaMacro.html#g1">startRecording</a> () <li>virtual void <a class="el" href="classQextScintillaMacro.html#g2">endRecording</a> () </ul> <h2>Public Methods</h2> <ul> <li><a class="el" href="classQextScintillaMacro.html#a0">QextScintillaMacro</a> (<a class="el" href="classQextScintilla.html">QextScintilla</a> *parent, const char *name=0) <li><a class="el" href="classQextScintillaMacro.html#a1">QextScintillaMacro</a> (const QCString &asc, <a class="el" href="classQextScintilla.html">QextScintilla</a> *parent, const char *name=0) <li>virtual <a class="el" href="classQextScintillaMacro.html#a2">~QextScintillaMacro</a> () <li>void <a class="el" href="classQextScintillaMacro.html#a3">clear</a> () <li>bool <a class="el" href="classQextScintillaMacro.html#a4">load</a> (const QCString &asc) <li>QCString <a class="el" href="classQextScintillaMacro.html#a5">save</a> () const </ul> <hr><a name="_details"></a><h2>Detailed Description</h2> The QextScintillaMacro class represents a sequence of recordable editor commands. <p> Methods are provided to convert convert a macro to and from a textual representation so that they can be easily written to and read from permanent storage. <p> <hr><h2>Constructor & Destructor Documentation</h2> <a name="a0" doxytag="QextScintillaMacro::QextScintillaMacro"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> QextScintillaMacro::QextScintillaMacro </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="classQextScintilla.html">QextScintilla</a> * </td> <td class="mdname" nowrap> <em>parent</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>const char * </td> <td class="mdname" nowrap> <em>name</em> = 0</td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Construct a QextScintillaMacro with parent <em>parent</em> and name <em>name</em>. </td> </tr> </table> <a name="a1" doxytag="QextScintillaMacro::QextScintillaMacro"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> QextScintillaMacro::QextScintillaMacro </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const QCString & </td> <td class="mdname" nowrap> <em>asc</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap><a class="el" href="classQextScintilla.html">QextScintilla</a> * </td> <td class="mdname" nowrap> <em>parent</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>const char * </td> <td class="mdname" nowrap> <em>name</em> = 0</td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Construct a QextScintillaMacro from the printable ASCII representation <em>asc</em>, with parent <em>parent</em> and name <em>name</em>. </td> </tr> </table> <a name="a2" doxytag="QextScintillaMacro::~QextScintillaMacro"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> virtual QextScintillaMacro::~QextScintillaMacro </td> <td class="md" valign="top">( </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top">) </td> <td class="md" nowrap><code> [virtual]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Destroy the QextScintillaMacro instance. <p> </td> </tr> </table> <hr><h2>Member Function Documentation</h2> <a name="a3" doxytag="QextScintillaMacro::clear"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> void QextScintillaMacro::clear </td> <td class="md" valign="top">( </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top">) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Clear the contents of the macro. <p> </td> </tr> </table> <a name="a4" doxytag="QextScintillaMacro::load"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> bool QextScintillaMacro::load </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const QCString & </td> <td class="mdname1" valign="top" nowrap> <em>asc</em> </td> <td class="md" valign="top">) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Load the macro from the printable ASCII representation <em>asc</em>. Returns TRUE if there was no error. <p> <dl compact><dt><b>See also: </b></dt><dd> <a class="el" href="classQextScintillaMacro.html#a5">save()</a> </dl> </td> </tr> </table> <a name="a5" doxytag="QextScintillaMacro::save"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> QCString QextScintillaMacro::save </td> <td class="md" valign="top">( </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top">) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Return a printable ASCII representation of the macro. It is guaranteed that only printable ASCII characters are used and that double quote characters will not be used. <p> <dl compact><dt><b>See also: </b></dt><dd> <a class="el" href="classQextScintillaMacro.html#a4">load()</a> </dl> </td> </tr> </table> <a name="g0" doxytag="QextScintillaMacro::play"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> virtual void QextScintillaMacro::play </td> <td class="md" valign="top">( </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top">) </td> <td class="md" nowrap><code> [virtual, slot]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Play the macro. <p> </td> </tr> </table> <a name="g1" doxytag="QextScintillaMacro::startRecording"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> virtual void QextScintillaMacro::startRecording </td> <td class="md" valign="top">( </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top">) </td> <td class="md" nowrap><code> [virtual, slot]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Start recording user commands and add them to the macro. <p> </td> </tr> </table> <a name="g2" doxytag="QextScintillaMacro::endRecording"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> virtual void QextScintillaMacro::endRecording </td> <td class="md" valign="top">( </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top">) </td> <td class="md" nowrap><code> [virtual, slot]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Stop recording user commands. <p> </td> </tr> </table> <hr><address style="align: right;"><small>Generated on Sat Aug 16 21:46:54 2003 for QScintilla by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 width=110 height=53></a>1.2.18 </small></address> </body> </html>