translated some comments from German to English
This commit is contained in:
committed by
Lionel Elie Mamane
parent
2561e3f786
commit
9f8d1f6b46
@@ -384,11 +384,12 @@ IMPL_LINK( TextEditImp, SyntaxTimerHdl, Timer *, EMPTYARG )
|
|||||||
else
|
else
|
||||||
pTextEngine->SetUpdateMode( sal_True ); // ! With VDev
|
pTextEngine->SetUpdateMode( sal_True ); // ! With VDev
|
||||||
|
|
||||||
// SetUpdateMode( sal_True ) soll kein Modify setzen
|
// SetUpdateMode (sal_True ) shouldn't set Modify
|
||||||
pTextEngine->SetModified( bWasModified );
|
pTextEngine->SetModified( bWasModified );
|
||||||
|
|
||||||
// SyntaxTimerHdl wird gerufen, wenn Text-Aenderung
|
// SyntaxTimerHdl will be called when the text changes
|
||||||
// => gute Gelegenheit, Textbreite zu ermitteln!
|
// => Good opportunity to get the text width
|
||||||
|
|
||||||
bHighlightning = sal_False;
|
bHighlightning = sal_False;
|
||||||
|
|
||||||
if ( aSyntaxLineTable.First() )
|
if ( aSyntaxLineTable.First() )
|
||||||
|
@@ -49,15 +49,16 @@ protected:
|
|||||||
::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface> m_xStartingPoint;
|
::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface> m_xStartingPoint;
|
||||||
|
|
||||||
::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface> m_xCurrentObject;
|
::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface> m_xCurrentObject;
|
||||||
// das aktuelle Objekt
|
// The actual object
|
||||||
::std::vector<sal_Int32> m_arrChildIndizies;
|
::std::vector<sal_Int32> m_arrChildIndizies;
|
||||||
// ich bewege mich eigentlich durch einen Baum, dummerweise haben dessen
|
|
||||||
// Elemente aber kein GetNextSibling, also muss ich mir merken, wo die Childs
|
// Actually, as I move through this tree, there are elements but NO
|
||||||
// innerhalb ihres Parents sitzen (das ist sozusagen der Pfad von der Wurzel
|
// GetNextSibling, so I have to remember where each child
|
||||||
// zu m_xCurrentObject
|
// is in relation to it's parent. This is the path from the
|
||||||
|
// root node to m_xCurrentObject
|
||||||
|
|
||||||
::rtl::OUString m_ustrProperty;
|
::rtl::OUString m_ustrProperty;
|
||||||
// der Name der gesuchten property
|
// The Name of the requested property
|
||||||
|
|
||||||
public:
|
public:
|
||||||
IndexAccessIterator(::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface> xStartingPoint);
|
IndexAccessIterator(::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface> xStartingPoint);
|
||||||
@@ -70,10 +71,12 @@ public:
|
|||||||
|
|
||||||
protected:
|
protected:
|
||||||
virtual sal_Bool ShouldHandleElement(const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface>& /*rElement*/) { return sal_True; }
|
virtual sal_Bool ShouldHandleElement(const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface>& /*rElement*/) { return sal_True; }
|
||||||
// damit kann man bestimmte Elemente ausschliessen, die werden dann einfach
|
|
||||||
// uebergangen
|
// So we can exclude certain elements, which are expected
|
||||||
// wenn hier sal_True zurueckkommt, wird dieses Element von Next zurueckgeliefert, man kann sich hier also auch
|
// if this returns sal_True. If so, this element will be returned,
|
||||||
// gleich ein paar zusaetzliche Angaben zu dem Element holen (deswegen ist die Methode auch nicht const)
|
// which also allows us to return additional information.
|
||||||
|
// That's why this method is not const.
|
||||||
|
|
||||||
virtual sal_Bool ShouldStepInto(const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface>& /*xContainer*/) const { return sal_True; }
|
virtual sal_Bool ShouldStepInto(const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface>& /*xContainer*/) const { return sal_True; }
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user