<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[[FAQ] Syntax highlighting (RichEdit)]]></title><description><![CDATA[<p>Hi,</p>
<p>ich hab da ne frage:</p>
<p>ich benutze in meinem Projekt das FAQ Beispiel Syntax highlighten (<a href="http://thunder.prohosting.com/~cbdn/a_syn.htm" rel="nofollow">http://thunder.prohosting.com/~cbdn/a_syn.htm</a>).</p>
<p>Wenn ich eine Datei in mein RichEdit lade, passiert nichts!<br />
Wenn ich dann z.b. vor die ganze zeile ein leerzeichen setze, werden die entsprechenden schlüsselwörter hervorgehoben! hat da jemand ne idee, wie ich das ändern kann?</p>
<p>mein code(ausschnitt):</p>
<pre><code>char *Keywords[34]={
&quot;for&quot;,&quot;while&quot;,&quot;do&quot;,&quot;switch&quot;,&quot;case&quot;,&quot;break&quot;,&quot;sizeof&quot;,&quot;true&quot;,
&quot;false&quot;,&quot;int&quot;,&quot;char&quot;,&quot;String&quot;,&quot;AnsiString&quot;,&quot;#include&quot;,&quot;#ifndef&quot;,
&quot;#define&quot;,&quot;#pragma&quot;,&quot;void&quot;,&quot;return&quot;,&quot;if&quot;,&quot;else&quot;,&quot;bool&quot;,&quot;class&quot;,
&quot;public&quot;,&quot;__published&quot;,&quot;private&quot;,&quot;struct&quot;,&quot;long&quot;,&quot;unsigned&quot;,&quot;short&quot;,
&quot;float&quot;,&quot;try&quot;,&quot;catch&quot;,&quot;system&quot;
};

//in FormCreate:
  OpenDialog1-&gt;InitialDir=ExtractFilePath(Application-&gt;ExeName);
  SaveDialog1-&gt;InitialDir=ExtractFilePath(Application-&gt;ExeName);
  if(ParamStr(1)!=&quot;&quot;)
    RichEdit1-&gt;Lines-&gt;LoadFromFile(ParamStr(1));
  path=ExtractFilePath(Application-&gt;ExeName)+&quot;\\settings.ini&quot;;
  CHARFORMAT Default;
  Default.cbSize=sizeof(Default);
  Default.dwMask=CFM_BOLD | CFM_FACE | CFM_SIZE | CFM_CHARSET;
  Default.dwEffects=0;
  Default.yHeight=200;
  Default.bCharSet=0xEE;
  strcpy(Default.szFaceName,&quot;Courier New&quot;);
  RichEdit1-&gt;Perform(EM_SETCHARFORMAT,SCF_ALL,(LPARAM)&amp;Default);
  RichEdit1-&gt;Perform(EM_SETEVENTMASK,0,(LPARAM)ENM_CHANGE);
// funktionen des highlighting:

int TForm1::GetFirstPos(int Line)
{
    int Pos=RichEdit1-&gt;Perform(EM_LINEINDEX,Line,0);
    return Pos;
}
//---------------------------------------------------------------------------

int TForm1::GetLastPos(int Line)
{
  if(Line==RichEdit1-&gt;Lines-&gt;Count-1)
    return RichEdit1-&gt;Text.Length();
  else{
    int Pos=RichEdit1-&gt;Perform(EM_LINEINDEX,Line+1,0);
    return (Pos-1);
  }
}
//---------------------------------------------------------------------------

void TForm1::HighlightWords(TColor Color)
{
    int EventMask=RichEdit1-&gt;Perform(EM_SETEVENTMASK,0,ENM_NONE);
    LockWindowUpdate(RichEdit1-&gt;Handle);
    RichEdit1-&gt;Perform(EM_HIDESELECTION,true,false);

    CHARRANGE Original;
    RichEdit1-&gt;Perform(EM_EXGETSEL,0,(LPARAM)&amp;Original);

    int CurrentLine=RichEdit1-&gt;Perform(EM_LINEFROMCHAR,Original.cpMin,0);
    int Start=GetFirstPos(CurrentLine);
    int End=GetLastPos(CurrentLine);
    int FoundPos,FindLength;

    CHARRANGE LineSelection;
    LineSelection.cpMin=Start;
    LineSelection.cpMax=End;
    RichEdit1-&gt;Perform(EM_EXSETSEL,0,(LPARAM)&amp;LineSelection);

    CHARFORMAT FormatNormal;
    memset(&amp;FormatNormal,0,sizeof(FormatNormal));
    FormatNormal.cbSize=sizeof(FormatNormal);
    FormatNormal.dwMask=CFM_COLOR | CFM_BOLD;
    FormatNormal.crTextColor=clBlack;
    FormatNormal.dwEffects=0;
    RichEdit1-&gt;Perform(EM_SETCHARFORMAT,SCF_SELECTION,(LPARAM)&amp;FormatNormal);

    PreviousLine=CurrentLine;
    PreviousMatchCount=0;

    for(int x=0;x&lt;sizeof(Keywords)/sizeof(Keywords[0]);x++)
    {
        FindLength=strlen(Keywords[x]);

        ::FINDTEXT FindText;
        FindText.lpstrText=Keywords[x];
        FindText.chrg.cpMin=Start;
        FindText.chrg.cpMax=End;
        FoundPos=RichEdit1-&gt;Perform(EM_FINDTEXT,FT_WHOLEWORD,(LPARAM)&amp;FindText);

        while(FoundPos&gt;-1)
        {
            PreviousMatchCount++;
            RichEdit1-&gt;SelStart=FoundPos;
            RichEdit1-&gt;SelLength=FindLength;

            CHARFORMAT FormatKey;
            memset(&amp;FormatKey,0,sizeof(FormatKey));
            FormatKey.cbSize=sizeof(FormatKey);
            FormatKey.dwMask=CFM_COLOR | CFM_BOLD;
            FormatKey.crTextColor=Color;
            FormatKey.dwEffects=CFE_BOLD;
            RichEdit1-&gt;Perform(EM_SETCHARFORMAT,SCF_SELECTION,(LPARAM)&amp;FormatKey);

            FindText.chrg.cpMin=FoundPos+FindLength;
            FoundPos=RichEdit1-&gt;Perform(EM_FINDTEXT,FT_WHOLEWORD,(LPARAM)&amp;FindText);
        }
    }
    RichEdit1-&gt;Perform(EM_EXSETSEL,0,(LPARAM)&amp;Original);
    RichEdit1-&gt;Perform(EM_SETCHARFORMAT,SCF_SELECTION,(LPARAM)&amp;FormatNormal);
    RichEdit1-&gt;Perform(EM_HIDESELECTION,false,false);
    LockWindowUpdate(NULL);
    RichEdit1-&gt;Perform(EM_SETEVENTMASK, 0, EventMask);
}

bool TForm1::CanAvoidHighlight()
{
    int CurrentLine=RichEdit1-&gt;Perform(EM_LINEFROMCHAR,-1,0);
    int Start=GetFirstPos(CurrentLine);
    int End=GetLastPos(CurrentLine);
    int FoundPos,FindLength;
    int TempMatchCount=0;

    if(PreviousLine!=CurrentLine)
        return false;

    for(int x=0;x&lt;sizeof(Keywords)/sizeof(Keywords[0]);x++)
    {
        FindLength=strlen(Keywords[x]);

        ::FINDTEXT FindText;
        FindText.lpstrText=Keywords[x];
        FindText.chrg.cpMin=Start;
        FindText.chrg.cpMax=End;
        FoundPos=RichEdit1-&gt;Perform(EM_FINDTEXT,FT_WHOLEWORD,(LPARAM)&amp;FindText);

        while(FoundPos&gt;-1)
        {
            TempMatchCount++;
            FindText.chrg.cpMin=FoundPos+FindLength;
            FoundPos=RichEdit1-&gt;Perform(EM_FINDTEXT,FT_WHOLEWORD,(LPARAM)&amp;FindText);
        }
    }
    if(TempMatchCount==PreviousMatchCount)
      return true;
    else
      return false;
}

// on change:

void __fastcall TForm1::RichEdit1Change(TObject *Sender)
{
  sicher=false;
  if((highlight)&amp;&amp;(!CanAvoidHighlight()))
    HighlightWords(clBlack);
}
</code></pre>
<p>danke!</p>
<p>PS: wenn ich in einer datei syntax highlighting hatte und eine lade, wird die komplette neue datei schwarz und fett geschrieben!<br />
wieso das denn??<br />
aso:</p>
<pre><code>// Laden ist mein MenuItem &quot;Öffnen&quot;
void __fastcall TForm1::Laden1Click(TObject *Sender)
{
  try
  {
    if(OpenDialog1-&gt;Execute())
    {
      RichEdit1-&gt;Lines-&gt;LoadFromFile(OpenDialog1-&gt;FileName);
      SaveDialog1-&gt;FileName=OpenDialog1-&gt;FileName;
      Kompilieren1-&gt;Enabled=true;
      KompUndShell-&gt;Enabled=true;
      AnsiString oldtext;
      for(int i=0;i&lt;RichEdit1-&gt;Lines-&gt;Count+1;i++)
      {
        oldtext=RichEdit1-&gt;Lines-&gt;Strings[i];
        RichEdit1-&gt;Lines-&gt;Strings[i]=&quot;a&quot;;
        RichEdit1-&gt;Lines-&gt;Strings[i]=oldtext;
      }
      sicher=true;
      Form1-&gt;Caption=&quot;EditText 1.5&quot;;
    }
  }
  catch(...)
  {
    ShowMessage(&quot;Fehler! Die Datei konnte nicht geladen werden!&quot;);
  }
}
//---------------------------------------------------------------------------
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/topic/86816/faq-syntax-highlighting-richedit</link><generator>RSS for Node</generator><lastBuildDate>Fri, 03 Jul 2026 23:52:06 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/86816.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 22 Sep 2004 17:50:17 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to [FAQ] Syntax highlighting (RichEdit) on Wed, 22 Sep 2004 17:51:42 GMT]]></title><description><![CDATA[<p>Hi,</p>
<p>ich hab da ne frage:</p>
<p>ich benutze in meinem Projekt das FAQ Beispiel Syntax highlighten (<a href="http://thunder.prohosting.com/~cbdn/a_syn.htm" rel="nofollow">http://thunder.prohosting.com/~cbdn/a_syn.htm</a>).</p>
<p>Wenn ich eine Datei in mein RichEdit lade, passiert nichts!<br />
Wenn ich dann z.b. vor die ganze zeile ein leerzeichen setze, werden die entsprechenden schlüsselwörter hervorgehoben! hat da jemand ne idee, wie ich das ändern kann?</p>
<p>mein code(ausschnitt):</p>
<pre><code>char *Keywords[34]={
&quot;for&quot;,&quot;while&quot;,&quot;do&quot;,&quot;switch&quot;,&quot;case&quot;,&quot;break&quot;,&quot;sizeof&quot;,&quot;true&quot;,
&quot;false&quot;,&quot;int&quot;,&quot;char&quot;,&quot;String&quot;,&quot;AnsiString&quot;,&quot;#include&quot;,&quot;#ifndef&quot;,
&quot;#define&quot;,&quot;#pragma&quot;,&quot;void&quot;,&quot;return&quot;,&quot;if&quot;,&quot;else&quot;,&quot;bool&quot;,&quot;class&quot;,
&quot;public&quot;,&quot;__published&quot;,&quot;private&quot;,&quot;struct&quot;,&quot;long&quot;,&quot;unsigned&quot;,&quot;short&quot;,
&quot;float&quot;,&quot;try&quot;,&quot;catch&quot;,&quot;system&quot;
};

//in FormCreate:
  OpenDialog1-&gt;InitialDir=ExtractFilePath(Application-&gt;ExeName);
  SaveDialog1-&gt;InitialDir=ExtractFilePath(Application-&gt;ExeName);
  if(ParamStr(1)!=&quot;&quot;)
    RichEdit1-&gt;Lines-&gt;LoadFromFile(ParamStr(1));
  path=ExtractFilePath(Application-&gt;ExeName)+&quot;\\settings.ini&quot;;
  CHARFORMAT Default;
  Default.cbSize=sizeof(Default);
  Default.dwMask=CFM_BOLD | CFM_FACE | CFM_SIZE | CFM_CHARSET;
  Default.dwEffects=0;
  Default.yHeight=200;
  Default.bCharSet=0xEE;
  strcpy(Default.szFaceName,&quot;Courier New&quot;);
  RichEdit1-&gt;Perform(EM_SETCHARFORMAT,SCF_ALL,(LPARAM)&amp;Default);
  RichEdit1-&gt;Perform(EM_SETEVENTMASK,0,(LPARAM)ENM_CHANGE);
// funktionen des highlighting:

int TForm1::GetFirstPos(int Line)
{
    int Pos=RichEdit1-&gt;Perform(EM_LINEINDEX,Line,0);
    return Pos;
}
//---------------------------------------------------------------------------

int TForm1::GetLastPos(int Line)
{
  if(Line==RichEdit1-&gt;Lines-&gt;Count-1)
    return RichEdit1-&gt;Text.Length();
  else{
    int Pos=RichEdit1-&gt;Perform(EM_LINEINDEX,Line+1,0);
    return (Pos-1);
  }
}
//---------------------------------------------------------------------------

void TForm1::HighlightWords(TColor Color)
{
    int EventMask=RichEdit1-&gt;Perform(EM_SETEVENTMASK,0,ENM_NONE);
    LockWindowUpdate(RichEdit1-&gt;Handle);
    RichEdit1-&gt;Perform(EM_HIDESELECTION,true,false);

    CHARRANGE Original;
    RichEdit1-&gt;Perform(EM_EXGETSEL,0,(LPARAM)&amp;Original);

    int CurrentLine=RichEdit1-&gt;Perform(EM_LINEFROMCHAR,Original.cpMin,0);
    int Start=GetFirstPos(CurrentLine);
    int End=GetLastPos(CurrentLine);
    int FoundPos,FindLength;

    CHARRANGE LineSelection;
    LineSelection.cpMin=Start;
    LineSelection.cpMax=End;
    RichEdit1-&gt;Perform(EM_EXSETSEL,0,(LPARAM)&amp;LineSelection);

    CHARFORMAT FormatNormal;
    memset(&amp;FormatNormal,0,sizeof(FormatNormal));
    FormatNormal.cbSize=sizeof(FormatNormal);
    FormatNormal.dwMask=CFM_COLOR | CFM_BOLD;
    FormatNormal.crTextColor=clBlack;
    FormatNormal.dwEffects=0;
    RichEdit1-&gt;Perform(EM_SETCHARFORMAT,SCF_SELECTION,(LPARAM)&amp;FormatNormal);

    PreviousLine=CurrentLine;
    PreviousMatchCount=0;

    for(int x=0;x&lt;sizeof(Keywords)/sizeof(Keywords[0]);x++)
    {
        FindLength=strlen(Keywords[x]);

        ::FINDTEXT FindText;
        FindText.lpstrText=Keywords[x];
        FindText.chrg.cpMin=Start;
        FindText.chrg.cpMax=End;
        FoundPos=RichEdit1-&gt;Perform(EM_FINDTEXT,FT_WHOLEWORD,(LPARAM)&amp;FindText);

        while(FoundPos&gt;-1)
        {
            PreviousMatchCount++;
            RichEdit1-&gt;SelStart=FoundPos;
            RichEdit1-&gt;SelLength=FindLength;

            CHARFORMAT FormatKey;
            memset(&amp;FormatKey,0,sizeof(FormatKey));
            FormatKey.cbSize=sizeof(FormatKey);
            FormatKey.dwMask=CFM_COLOR | CFM_BOLD;
            FormatKey.crTextColor=Color;
            FormatKey.dwEffects=CFE_BOLD;
            RichEdit1-&gt;Perform(EM_SETCHARFORMAT,SCF_SELECTION,(LPARAM)&amp;FormatKey);

            FindText.chrg.cpMin=FoundPos+FindLength;
            FoundPos=RichEdit1-&gt;Perform(EM_FINDTEXT,FT_WHOLEWORD,(LPARAM)&amp;FindText);
        }
    }
    RichEdit1-&gt;Perform(EM_EXSETSEL,0,(LPARAM)&amp;Original);
    RichEdit1-&gt;Perform(EM_SETCHARFORMAT,SCF_SELECTION,(LPARAM)&amp;FormatNormal);
    RichEdit1-&gt;Perform(EM_HIDESELECTION,false,false);
    LockWindowUpdate(NULL);
    RichEdit1-&gt;Perform(EM_SETEVENTMASK, 0, EventMask);
}

bool TForm1::CanAvoidHighlight()
{
    int CurrentLine=RichEdit1-&gt;Perform(EM_LINEFROMCHAR,-1,0);
    int Start=GetFirstPos(CurrentLine);
    int End=GetLastPos(CurrentLine);
    int FoundPos,FindLength;
    int TempMatchCount=0;

    if(PreviousLine!=CurrentLine)
        return false;

    for(int x=0;x&lt;sizeof(Keywords)/sizeof(Keywords[0]);x++)
    {
        FindLength=strlen(Keywords[x]);

        ::FINDTEXT FindText;
        FindText.lpstrText=Keywords[x];
        FindText.chrg.cpMin=Start;
        FindText.chrg.cpMax=End;
        FoundPos=RichEdit1-&gt;Perform(EM_FINDTEXT,FT_WHOLEWORD,(LPARAM)&amp;FindText);

        while(FoundPos&gt;-1)
        {
            TempMatchCount++;
            FindText.chrg.cpMin=FoundPos+FindLength;
            FoundPos=RichEdit1-&gt;Perform(EM_FINDTEXT,FT_WHOLEWORD,(LPARAM)&amp;FindText);
        }
    }
    if(TempMatchCount==PreviousMatchCount)
      return true;
    else
      return false;
}

// on change:

void __fastcall TForm1::RichEdit1Change(TObject *Sender)
{
  sicher=false;
  if((highlight)&amp;&amp;(!CanAvoidHighlight()))
    HighlightWords(clBlack);
}
</code></pre>
<p>danke!</p>
<p>PS: wenn ich in einer datei syntax highlighting hatte und eine lade, wird die komplette neue datei schwarz und fett geschrieben!<br />
wieso das denn??<br />
aso:</p>
<pre><code>// Laden ist mein MenuItem &quot;Öffnen&quot;
void __fastcall TForm1::Laden1Click(TObject *Sender)
{
  try
  {
    if(OpenDialog1-&gt;Execute())
    {
      RichEdit1-&gt;Lines-&gt;LoadFromFile(OpenDialog1-&gt;FileName);
      SaveDialog1-&gt;FileName=OpenDialog1-&gt;FileName;
      Kompilieren1-&gt;Enabled=true;
      KompUndShell-&gt;Enabled=true;
      AnsiString oldtext;
      for(int i=0;i&lt;RichEdit1-&gt;Lines-&gt;Count+1;i++)
      {
        oldtext=RichEdit1-&gt;Lines-&gt;Strings[i];
        RichEdit1-&gt;Lines-&gt;Strings[i]=&quot;a&quot;;
        RichEdit1-&gt;Lines-&gt;Strings[i]=oldtext;
      }
      sicher=true;
      Form1-&gt;Caption=&quot;EditText 1.5&quot;;
    }
  }
  catch(...)
  {
    ShowMessage(&quot;Fehler! Die Datei konnte nicht geladen werden!&quot;);
  }
}
//---------------------------------------------------------------------------
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/613098</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/613098</guid><dc:creator><![CDATA[Blackhawk]]></dc:creator><pubDate>Wed, 22 Sep 2004 17:51:42 GMT</pubDate></item><item><title><![CDATA[Reply to [FAQ] Syntax highlighting (RichEdit) on Thu, 23 Sep 2004 06:43:36 GMT]]></title><description><![CDATA[<p>Blackhawk schrieb:</p>
<blockquote>
<p>Wenn ich eine Datei in mein RichEdit lade, passiert nichts!<br />
Wenn ich dann z.b. vor die ganze zeile ein leerzeichen setze, werden die entsprechenden schlüsselwörter hervorgehoben! hat da jemand ne idee, wie ich das ändern kann?</p>
</blockquote>
<p>Klar: Analysiere den Quelltext und schau mal (mit HIlfe des <a href="http://www.junix.ch/bcb/help/debug.html" rel="nofollow">Debuggers</a>) was genau das Highlightning auslöst. Anschliessend versuchst du herauszufinden, wieso es nicht beim Laden ausgelöst wird.</p>
<p>Blackhawk schrieb:</p>
<blockquote>
<p>PS: wenn ich in einer datei syntax highlighting hatte und eine lade, wird die komplette neue datei schwarz und fett geschrieben!<br />
wieso das denn??</p>
</blockquote>
<p>Auch hier empfiehlt es sich wohl, den Debugger zu bemühen... Kleiner test für dich: Was passiert, wenn du die Schlüsselwörter blau färbst und als letztes in der Datei ein Schlüsselwort steht und du dann die Datei lädst?</p>
<p>-junix</p>
]]></description><link>https://www.c-plusplus.net/forum/post/613333</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/613333</guid><dc:creator><![CDATA[junix]]></dc:creator><pubDate>Thu, 23 Sep 2004 06:43:36 GMT</pubDate></item><item><title><![CDATA[Reply to [FAQ] Syntax highlighting (RichEdit) on Thu, 23 Sep 2004 12:42:15 GMT]]></title><description><![CDATA[<p>hat alles nix genützt, hab auch rausgefunden, dass man die funktion ganz umschreiben müsste, damit man das highlighten könnte, wenn man ne datei lädt.</p>
<p>wenn jemand ein anderes beispiel kennt, bitte posten, ansonsten schreib ich mir die funktion irgendwann mal um.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/613687</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/613687</guid><dc:creator><![CDATA[Blackhawk]]></dc:creator><pubDate>Thu, 23 Sep 2004 12:42:15 GMT</pubDate></item><item><title><![CDATA[Reply to [FAQ] Syntax highlighting (RichEdit) on Fri, 24 Sep 2004 12:21:06 GMT]]></title><description><![CDATA[<p>Hallo,</p>
<p>sieht so aus, als würde das OnChange - Event vom RichEdit nicht ausgelöst werden, wenn ne Datei geladen wird. Lösung: Event selber auslösen, nachdem du die Datei geladen hast!</p>
<p>ciao<br />
Robert</p>
]]></description><link>https://www.c-plusplus.net/forum/post/614184</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/614184</guid><dc:creator><![CDATA[rowisoft]]></dc:creator><pubDate>Fri, 24 Sep 2004 12:21:06 GMT</pubDate></item><item><title><![CDATA[Reply to [FAQ] Syntax highlighting (RichEdit) on Fri, 24 Sep 2004 12:39:53 GMT]]></title><description><![CDATA[<p>hab ich auch schon ausprobiert mit:</p>
<pre><code>for(int i=0;i&lt;RichEdit1-&gt;Lines-&gt;Count+1;i++)
{
  AnsiString oldtext=RichEdit1-&gt;Lines-&gt;Strings[i];
  RichEdit1-&gt;Lines-&gt;Strings[i]+=&quot;a&quot;;
  RichEdit1-&gt;Lines-&gt;Strings[i]=oldtext;
}
</code></pre>
<p>dann hab ich das mit einer projektdatei von mir ausprobiert (~800 zeilen) und wie ihr euch schon dneken könnt hat das ungefähr 25 sekunden gebraucht bis alles dann durchsucht wurde nach den schlüsselwörtern. Noch ne idee? oder hattest du was anderes gemeint?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/614200</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/614200</guid><dc:creator><![CDATA[Blackhawk]]></dc:creator><pubDate>Fri, 24 Sep 2004 12:39:53 GMT</pubDate></item><item><title><![CDATA[Reply to [FAQ] Syntax highlighting (RichEdit) on Fri, 24 Sep 2004 13:03:04 GMT]]></title><description><![CDATA[<p>Hi,<br />
schreib doch einfach mal RichEdit1Change(Sender); hinter das Laden....</p>
<p>MfG</p>
<p>Alexander Sulfrian</p>
]]></description><link>https://www.c-plusplus.net/forum/post/614215</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/614215</guid><dc:creator><![CDATA[Alexander Sulfrian]]></dc:creator><pubDate>Fri, 24 Sep 2004 13:03:04 GMT</pubDate></item><item><title><![CDATA[Reply to [FAQ] Syntax highlighting (RichEdit) on Fri, 24 Sep 2004 13:03:21 GMT]]></title><description><![CDATA[<p>Ich hatte gemeint:</p>
<pre><code class="language-cpp">RichEdit1-&gt;OnChange(RichEdit1);
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/614216</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/614216</guid><dc:creator><![CDATA[rowisoft]]></dc:creator><pubDate>Fri, 24 Sep 2004 13:03:21 GMT</pubDate></item><item><title><![CDATA[Reply to [FAQ] Syntax highlighting (RichEdit) on Fri, 24 Sep 2004 13:24:02 GMT]]></title><description><![CDATA[<p>..bringt wieder nur die erste zeile <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f61e.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--disappointed_face"
      title=":("
      alt="😞"
    /></p>
<p>aber trotzdem danke für eure antworten</p>
]]></description><link>https://www.c-plusplus.net/forum/post/614240</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/614240</guid><dc:creator><![CDATA[Blackhawk]]></dc:creator><pubDate>Fri, 24 Sep 2004 13:24:02 GMT</pubDate></item><item><title><![CDATA[Reply to [FAQ] Syntax highlighting (RichEdit) on Fri, 24 Sep 2004 13:24:34 GMT]]></title><description><![CDATA[<p>Highlighte nur das was du auch wirklich anzeigst...</p>
<p>Lässt sich theoretisch sehr einfach durch die Integration einer <a href="http://www.junix.ch/bcb/help/doc_view" rel="nofollow">Document/View</a> Architektur erreichen...</p>
<p>-junix</p>
]]></description><link>https://www.c-plusplus.net/forum/post/614242</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/614242</guid><dc:creator><![CDATA[junix]]></dc:creator><pubDate>Fri, 24 Sep 2004 13:24:34 GMT</pubDate></item><item><title><![CDATA[Reply to [FAQ] Syntax highlighting (RichEdit) on Fri, 24 Sep 2004 13:41:52 GMT]]></title><description><![CDATA[<blockquote>
<p>Highlighte nur das was du auch wirklich anzeigst...</p>
</blockquote>
<p>was?? was soll das denn heissen? <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f615.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--confused_face"
      title=":confused:"
      alt="😕"
    /></p>
<p>aber die klasse TMyDocument von dir bringts echt voll <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f44d.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--thumbs_up"
      title=":+1:"
      alt="👍"
    /></p>
<p>werd ich dann mal ausprobieren</p>
]]></description><link>https://www.c-plusplus.net/forum/post/614248</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/614248</guid><dc:creator><![CDATA[Blackhawk]]></dc:creator><pubDate>Fri, 24 Sep 2004 13:41:52 GMT</pubDate></item><item><title><![CDATA[Reply to [FAQ] Syntax highlighting (RichEdit) on Fri, 24 Sep 2004 14:30:19 GMT]]></title><description><![CDATA[<p>Blackhawk schrieb:</p>
<blockquote>
<blockquote>
<p>Highlighte nur das was du auch wirklich anzeigst...</p>
</blockquote>
<p>was?? was soll das denn heissen? <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f615.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--confused_face"
      title=":confused:"
      alt="😕"
    /></p>
</blockquote>
<p>Das was da steht: Schick nur den Teil des Textes der sichtbar ist durch den Highlighter...</p>
<p>Blackhawk schrieb:</p>
<blockquote>
<p>aber die klasse TMyDocument von dir bringts echt voll <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f44d.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--thumbs_up"
      title=":+1:"
      alt="👍"
    /></p>
</blockquote>
<p>Wie soll ich das jetzt interpretieren?</p>
<p>-junix</p>
]]></description><link>https://www.c-plusplus.net/forum/post/614290</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/614290</guid><dc:creator><![CDATA[junix]]></dc:creator><pubDate>Fri, 24 Sep 2004 14:30:19 GMT</pubDate></item><item><title><![CDATA[Reply to [FAQ] Syntax highlighting (RichEdit) on Fri, 24 Sep 2004 14:46:42 GMT]]></title><description><![CDATA[<p>dass ich die klasse voll genial finde! Super idee!</p>
]]></description><link>https://www.c-plusplus.net/forum/post/614299</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/614299</guid><dc:creator><![CDATA[Blackhawk]]></dc:creator><pubDate>Fri, 24 Sep 2004 14:46:42 GMT</pubDate></item></channel></rss>