|
@@ -119,7 +119,7 @@ void TextFeld::TextStyleManager::setTextStyle( int begin, int end, TextFeld::Tex
|
|
|
void TextFeld::TextStyleManager::removeText( int begin, int end )
|
|
|
{
|
|
|
int sc = textStyle.getEintragAnzahl();
|
|
|
- for( int i = 0; i < sc; i++ )
|
|
|
+ for( int i = 1; i < sc; i++ )
|
|
|
{
|
|
|
TextStyle s = textStyle.get( i );
|
|
|
if( s.beginIndex >= begin && s.beginIndex < end )
|