diff options
Diffstat (limited to 'src/Editor.cpp')
-rwxr-xr-x | src/Editor.cpp | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/src/Editor.cpp b/src/Editor.cpp index 1abb78a..055f5dc 100755 --- a/src/Editor.cpp +++ b/src/Editor.cpp @@ -346,7 +346,7 @@ Editor::Editor() { hasFocus = false; hideSelection = false; inOverstrike = false; - errortqStatus = 0; + errorStatus = 0; mouseDownCaptures = true; bufferedDraw = true; @@ -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); @@ -2815,7 +2815,7 @@ void Editor::Paint(Surface *surfaceWindow, PRectangle rcArea) { startLineToWrap = -1; if (WrapLines(false, startLineToWrap)) { // The wrapping process has changed the height of some lines so - // abandon this paint for a complete tqrepaint. + // abandon this paint for a complete repaint. if (AbandonPaint()) { return; } @@ -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); @@ -3372,7 +3372,7 @@ void Editor::AddCharUTF(char *s, unsigned int len, bool treatAsDBCS) { // characters representing themselves. } else { // Unroll 1 to 3 byte UTF-8 sequences. See reference data at: - // http://www.cl.cam.ac.uk/~mgk25/tqunicode.html + // http://www.cl.cam.ac.uk/~mgk25/unicode.html // http://www.cl.cam.ac.uk/~mgk25/ucs/examples/UTF-8-test.txt if (byte < 0xE0) { int byte2 = static_cast<unsigned char>(s[1]); @@ -3809,7 +3809,7 @@ void Editor::NotifyModified(Document*, DocModification mh, void *) { } //Platform::DebugPrintf("** %x Doc Changed\n", this); - // TODO: could tqinvalidate from mh.startModification to end of screen + // TODO: could invalidate from mh.startModification to end of screen //InvalidateRange(mh.position, mh.position + mh.length); if (paintState == notPainting && !CanDeferToLastStep(mh)) { Redraw(); @@ -5217,7 +5217,7 @@ void Editor::SetHotSpotRange(Point *pt) { int hsStart_ = pdoc->ExtendStyleRange(pos, -1, vs.hotspotSingleLine); int hsEnd_ = pdoc->ExtendStyleRange(pos, 1, vs.hotspotSingleLine); - // Only tqinvalidate the range if the hotspot range has changed... + // Only invalidate the range if the hotspot range has changed... if (hsStart_ != hsStart || hsEnd_ != hsEnd) { if (hsStart != -1) { InvalidateRange(hsStart, hsEnd); @@ -7210,11 +7210,11 @@ sptr_t Editor::WndProc(unsigned int iMessage, uptr_t wParam, sptr_t lParam) { return hasFocus; case SCI_SETSTATUS: - errortqStatus = wParam; + errorStatus = wParam; break; case SCI_GETSTATUS: - return errortqStatus; + return errorStatus; case SCI_SETMOUSEDOWNCAPTURES: mouseDownCaptures = wParam != 0; |