Autor Beitrag
Lannes
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 2352
Erhaltene Danke: 4

Win XP, 95, 3.11, IE6
D3 Prof, D4 Standard, D2005 PE, TurboDelphi, Lazarus, D2010
BeitragVerfasst: Mi 21.09.05 09:00 
Hallo,

erstmal ein dickes Lob bzgl. der neuen Suchfunktionen.

Nun zum kleinen Fehler, folgender Editor-Text:
ausblenden Quelltext
1:
2:
3:
4:
5:
6:
7:
1. Style anpassen
<div class="syntaxContainer">  <div class="syntaxSelect">    <a class="genmed" style="text-decoration: none" href="javascript:selectAll(29466410)">markieren</a>  </div>  <div class="syntaxTitle genmed">        <a style="text-decoration: none" href="javascript:toggleCode(29466410)">            <span  id="minusFor29466410"><img class="codecollapse crispscaling" align="top" src="./graphics/bbcode/code_hide.png" border="0" alt="ausblenden" title="ausblenden"/></span>            <span style="display: none;" id="plusFor29466410"><img class="codecollapse crispscaling" align="top" src="./graphics/bbcode/code_show.png" border="0" alt="anzeigen" title="anzeigen"/></span>        </a>                <b>Delphi-Quelltext</b>        <span class="copyright" style="display: none" id="hintFor29466410">                       </span>  </div>  <div id="code29466410" class="syntax" style=" ">    <table cellspacing="0" cellpadding="0">      <tr>        <td valign="top" style="text-align: right; padding-right: 3px; border: #DBE4EB solid; border-width: 0px 1px 0px 0px;">          <pre>1:
</pre>        </td>        <td valign="top" style="width: 100%; padding-left: 3px;">          <pre class="sourcecode"><span class="codecomment">{PROTECTTAGfd13506243ee17dce19e0ea358614ee3}</span>          </pre>        </td>      </tr>    </table>  </div></div>
2. ItemHeight setzen
<div class="syntaxContainer">  <div class="syntaxSelect">    <a class="genmed" style="text-decoration: none" href="javascript:selectAll(29466420)">markieren</a>  </div>  <div class="syntaxTitle genmed">        <a style="text-decoration: none" href="javascript:toggleCode(29466420)">            <span  id="minusFor29466420"><img class="codecollapse crispscaling" align="top" src="./graphics/bbcode/code_hide.png" border="0" alt="ausblenden" title="ausblenden"/></span>            <span style="display: none;" id="plusFor29466420"><img class="codecollapse crispscaling" align="top" src="./graphics/bbcode/code_show.png" border="0" alt="anzeigen" title="anzeigen"/></span>        </a>                <b>Delphi-Quelltext</b>        <span class="copyright" style="display: none" id="hintFor29466420">                       </span>  </div>  <div id="code29466420" class="syntax" style=" ">    <table cellspacing="0" cellpadding="0">      <tr>        <td valign="top" style="text-align: right; padding-right: 3px; border: #DBE4EB solid; border-width: 0px 1px 0px 0px;">          <pre>1:
</pre>        </td>        <td valign="top" style="width: 100%; padding-left: 3px;">          <pre class="sourcecode"><span class="codecomment">{PROTECTTAG15eb0bf76e7342c3db8e93dabd7e14dc}</span>          </pre>        </td>      </tr>    </table>  </div></div>
dann müsste es gehen.

wird so interpretiert:
-----------------------------------------------------------------------------
1. Style anpassen
ausblenden Delphi-Quelltext
1:
ComboBox1.Style := csOwnerDrawFixed;					

2. ItemHeight setzen
ausblenden Delphi-Quelltext
1:
ComboBox1.ItemHeight := 13;					

dann müsste es gehen.
-----------------------------------------------------------------------------
Auch bei mehreren solcher einzeiligen Codes wird nur der erste richtig angezeigt.

_________________
MfG Lannes
(Nichts ist nicht Nichts) and ('' <> nil ) and (Pointer('') = nil ) and (@('') <> nil )
Christian S.
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 20451
Erhaltene Danke: 2264

Win 10
C# (VS 2019)
BeitragVerfasst: Mi 21.09.05 10:13 
Steht schon seit ein paar Tagen in der Liste der bekannten Bugs ;-)

_________________
Zwei Worte werden Dir im Leben viele Türen öffnen - "ziehen" und "drücken".
Lannes Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 2352
Erhaltene Danke: 4

Win XP, 95, 3.11, IE6
D3 Prof, D4 Standard, D2005 PE, TurboDelphi, Lazarus, D2010
BeitragVerfasst: Mi 21.09.05 10:37 
Hallo,

...ok, bis der Bug behoben ist :arrow:

Hab gerade festgestellt das man den Fehler umgehen kann
indem man hinter [ delphi ] einen Zeilenumbruch einfügt
ausblenden Quelltext
1:
2:
3:
<span class="inlineSyntax"><span class="codecomment">{PROTECTTAGddfce3018438e640aa67c9d75d2178ed}</span></span>
...
<span class="inlineSyntax"><span class="codecomment">{PROTECTTAG4440d6f8847586fde92ae9b1ec2ab873}</span></span>

dann gehts:
-----------------------------------------------------------------------------
Code...
ausblenden Delphi-Quelltext
1:
Code					
-----------------------------------------------------------------------------

_________________
MfG Lannes
(Nichts ist nicht Nichts) and ('' <> nil ) and (Pointer('') = nil ) and (@('') <> nil )