summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-21 14:08:48 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-21 14:08:48 -0600
commitb3566a6c6754f013b55063c28b90995be612da96 (patch)
treedd590262fefe39114300e6d376b68df0b435c0f2 /src
parent1aef904f94a86fecbc71888bc94a790ff36f0403 (diff)
downloadtqscintilla-b3566a6c6754f013b55063c28b90995be612da96.tar.gz
tqscintilla-b3566a6c6754f013b55063c28b90995be612da96.zip
Rename obsolete tq methods to standard names
Diffstat (limited to 'src')
-rwxr-xr-xsrc/AutoComplete.cpp4
-rwxr-xr-xsrc/AutoComplete.h2
-rwxr-xr-xsrc/Editor.cpp8
3 files changed, 7 insertions, 7 deletions
diff --git a/src/AutoComplete.cpp b/src/AutoComplete.cpp
index daa5fbb..753adca 100755
--- a/src/AutoComplete.cpp
+++ b/src/AutoComplete.cpp
@@ -45,11 +45,11 @@ bool AutoComplete::Active() {
void AutoComplete::Start(Window &parent, int ctrlID,
int position, Point location, int startLen_,
- int lineHeight, bool tqunicodeMode) {
+ int lineHeight, bool unicodeMode) {
if (active) {
Cancel();
}
- lb->Create(parent, ctrlID, location, lineHeight, tqunicodeMode);
+ lb->Create(parent, ctrlID, location, lineHeight, unicodeMode);
lb->Clear();
active = true;
startLen = startLen_;
diff --git a/src/AutoComplete.h b/src/AutoComplete.h
index 8fd84c8..10577ca 100755
--- a/src/AutoComplete.h
+++ b/src/AutoComplete.h
@@ -36,7 +36,7 @@ public:
/// Display the auto completion list positioned to be near a character position
void Start(Window &parent, int ctrlID, int position, Point location,
- int startLen_, int lineHeight, bool tqunicodeMode);
+ int startLen_, int lineHeight, bool unicodeMode);
/// The stop chars are characters which, when typed, cause the auto completion list to disappear
void SetStopChars(const char *stopChars_);
diff --git a/src/Editor.cpp b/src/Editor.cpp
index db27cb0..41c67a3 100755
--- a/src/Editor.cpp
+++ b/src/Editor.cpp
@@ -1949,7 +1949,7 @@ void Editor::LayoutLine(int line, Surface *surface, ViewStyle &vstyle, LineLayou
// See if chars, styles, indicators, are all the same
bool allSame = true;
const int styleMask = pdoc->stylingBitsMask;
- // Check base line tqlayout
+ // Check base line layout
char styleByte = 0;
int numCharsInLine = 0;
while (numCharsInLine < lineLength) {
@@ -1997,7 +1997,7 @@ void Editor::LayoutLine(int line, Surface *surface, ViewStyle &vstyle, LineLayou
char styleByte = 0;
int styleMask = pdoc->stylingBitsMask;
ll->styleBitsSet = 0;
- // Fill base line tqlayout
+ // Fill base line layout
for (int charInDoc = posLineStart; charInDoc < posLineEnd; charInDoc++) {
char chDoc = pdoc->CharAt(charInDoc);
styleByte = pdoc->StyleAt(charInDoc);
@@ -2892,7 +2892,7 @@ void Editor::Paint(Surface *surfaceWindow, PRectangle rcArea) {
//ElapsedTime et;
if (lineDoc != lineDocPrevious) {
ll.Set(0);
- // For rectangular selection this accesses the tqlayout cache so should be after tqlayout returned.
+ // For rectangular selection this accesses the layout cache so should be after layout returned.
lineIterator.SetAt(lineDoc);
ll.Set(RetrieveLineLayout(lineDoc));
LayoutLine(lineDoc, surface, vs, ll, wrapWidth);
@@ -2930,7 +2930,7 @@ void Editor::Paint(Surface *surfaceWindow, PRectangle rcArea) {
DrawLine(surface, vs, lineDoc, visibleLine, xStart, rcLine, ll, subLine);
//durPaint += et.Duration(true);
- // Restore the previous styles for the brace highlights in case tqlayout is in cache.
+ // Restore the previous styles for the brace highlights in case layout is in cache.
ll->RestoreBracesHighlight(rangeLine, braces);
bool expanded = cs.GetExpanded(lineDoc);