Lines Matching refs:nLine
213 Pair ControlLayoutData::GetLineStartEnd( long nLine ) const in GetLineStartEnd()
218 if( nLine >= 0 && nLine < nDisplayLines ) in GetLineStartEnd()
220 aPair.A() = m_aLineIndices[nLine]; in GetLineStartEnd()
221 if( nLine+1 < nDisplayLines ) in GetLineStartEnd()
222 aPair.B() = m_aLineIndices[nLine+1]-1; in GetLineStartEnd()
226 else if( nLine == 0 && nDisplayLines == 0 && m_aDisplayText.Len() ) in GetLineStartEnd()
238 Pair Control::GetLineStartEnd( long nLine ) const in GetLineStartEnd()
242 …return mpControlData->mpLayoutData ? mpControlData->mpLayoutData->GetLineStartEnd( nLine ) : Pair(… in GetLineStartEnd()
257 int nLine; in ToRelativeLineIndex() local
258 for( nLine = nDisplayLines-1; nLine >= 0; nLine-- ) in ToRelativeLineIndex()
260 if( m_aLineIndices[nLine] <= nIndex ) in ToRelativeLineIndex()
262 nIndex -= m_aLineIndices[nLine]; in ToRelativeLineIndex()
266 if( nLine < 0 ) in ToRelativeLineIndex()
268 DBG_ASSERT( nLine >= 0, "ToRelativeLineIndex failed" ); in ToRelativeLineIndex()