INTEGRATION: CWS tune05 (1.13.268); FILE MERGED
2004/07/22 08:21:23 cmc 1.13.268.2: #i30554# SwSrcEditWindow::SyntaxColorsChanged unused 2004/06/24 11:23:46 cmc 1.13.268.1: #i30554# make lcl_foos static to emphasis their lclness
This commit is contained in:
@@ -2,9 +2,9 @@
|
|||||||
*
|
*
|
||||||
* $RCSfile: srcedtw.cxx,v $
|
* $RCSfile: srcedtw.cxx,v $
|
||||||
*
|
*
|
||||||
* $Revision: 1.13 $
|
* $Revision: 1.14 $
|
||||||
*
|
*
|
||||||
* last change: $Author: obo $ $Date: 2003-11-12 17:13:05 $
|
* last change: $Author: obo $ $Date: 2004-08-12 13:01:58 $
|
||||||
*
|
*
|
||||||
* The Contents of this file are made available subject to the terms of
|
* The Contents of this file are made available subject to the terms of
|
||||||
* either of the following licenses
|
* either of the following licenses
|
||||||
@@ -158,7 +158,7 @@ SV_IMPL_VARARR(SwTextPortions, SwTextPortion)
|
|||||||
|
|
||||||
--------------------------------------------------*/
|
--------------------------------------------------*/
|
||||||
|
|
||||||
void lcl_Highlight(const String& rSource, SwTextPortions& aPortionList)
|
static void lcl_Highlight(const String& rSource, SwTextPortions& aPortionList)
|
||||||
{
|
{
|
||||||
const sal_Unicode cOpenBracket = '<';
|
const sal_Unicode cOpenBracket = '<';
|
||||||
const sal_Unicode cCloseBracket= '>';
|
const sal_Unicode cCloseBracket= '>';
|
||||||
@@ -872,17 +872,7 @@ void SwSrcEditWindow::ImpDoHighlight( const String& rSource, USHORT nLineOff )
|
|||||||
pTextEngine->SetAttrib( TextAttribFontColor( aColor ), nLine, r.nStart, r.nEnd+1, TRUE );
|
pTextEngine->SetAttrib( TextAttribFontColor( aColor ), nLine, r.nStart, r.nEnd+1, TRUE );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
/*-----------------21.04.97 09:42-------------------
|
|
||||||
|
|
||||||
--------------------------------------------------*/
|
|
||||||
void SwSrcEditWindow::SyntaxColorsChanged()
|
|
||||||
{
|
|
||||||
for(USHORT i = 0; i < pTextEngine->GetParagraphCount(); i++)
|
|
||||||
aSyntaxLineTable.Insert( i, (void*)(USHORT)1 );
|
|
||||||
if(!aSyntaxIdleTimer.IsActive())
|
|
||||||
aSyntaxIdleTimer.Start();
|
|
||||||
|
|
||||||
}
|
|
||||||
/*-----------------30.06.97 09:12-------------------
|
/*-----------------30.06.97 09:12-------------------
|
||||||
|
|
||||||
--------------------------------------------------*/
|
--------------------------------------------------*/
|
||||||
|
|||||||
Reference in New Issue
Block a user