From 6ade7e598a18691f3f92471c4441d856b3ac54dc Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 16 Dec 2011 09:58:00 -0600 Subject: Revert "Rename a number of old tq methods that are no longer tq specific" This reverts commit 5e3fc3a36b58c4e1cb48e31a350f76b7a81b3170. --- qt/qextscintilla.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'qt/qextscintilla.cpp') diff --git a/qt/qextscintilla.cpp b/qt/qextscintilla.cpp index d586e21..4b33791 100644 --- a/qt/qextscintilla.cpp +++ b/qt/qextscintilla.cpp @@ -1036,7 +1036,7 @@ void QextScintilla::foldClick(int lineClick,int bstate) { if (bstate & ShiftButton) { - // Ensure all children are visible. + // Ensure all tqchildren are visible. SendScintilla(SCI_SETFOLDEXPANDED,lineClick,1); foldExpand(lineClick,TRUE,TRUE,100,levelClick); } @@ -1044,13 +1044,13 @@ void QextScintilla::foldClick(int lineClick,int bstate) { if (SendScintilla(SCI_GETFOLDEXPANDED,lineClick)) { - // Contract this line and all its children. + // Contract this line and all its tqchildren. SendScintilla(SCI_SETFOLDEXPANDED,lineClick,0L); foldExpand(lineClick,FALSE,TRUE,0,levelClick); } else { - // Expand this line and all its children. + // Expand this line and all its tqchildren. SendScintilla(SCI_SETFOLDEXPANDED,lineClick,1); foldExpand(lineClick,TRUE,TRUE,100,levelClick); } @@ -1119,7 +1119,7 @@ void QextScintilla::foldExpand(int &line,bool doExpand,bool force, // Fully expand (if there is any line currently folded) all text. Otherwise, // fold all text. This is mostly taken from SciTE. -void QextScintilla::foldAll(bool children) +void QextScintilla::foldAll(bool tqchildren) { recolor(); @@ -1142,7 +1142,7 @@ void QextScintilla::foldAll(bool children) if (!(level & SC_FOLDLEVELHEADERFLAG)) continue; - if (children || + if (tqchildren || (SC_FOLDLEVELBASE == (level & SC_FOLDLEVELNUMBERMASK))) { if (expanding) -- cgit v1.2.3