63 skipped lines |
|
|
66 | | 66 | | unsigned char *styles; |
|
| | 67 | | int styleBitsSet; |
|
|
69 | | 70 | | char bracePreviousStyles[2]; |
|
35 skipped lines |
105 | | 106 | | LineLayout **cache; |
|
106 | | 107 | | bool allInvalidated; |
|
|
| | 109 | | int useCount; |
108 | | 110 | | void Allocate(int length_); |
|
109 | | 111 | | void AllocateForLevel(int linesOnScreen, int linesInDoc); |
|
|
107 skipped lines |
|
219 | | 221 | | bool verticalScrollBarVisible; |
|
220 | | 222 | | bool endAtLastLine; |
|
| | 223 | | bool caretSticky; |
|
222 | | 225 | | Surface *pixmapLine; |
|
223 | | 226 | | Surface *pixmapSelMargin; |
|
77 skipped lines |
|
|
303 | | 306 | | // Wrapping support |
|
304 | | enum { eWrapNone, eWrapWord } wrapState; | | 307 | | enum { eWrapNone, eWrapWord, eWrapChar } wrapState; |
305 | | 308 | | bool backgroundWrapEnabled; |
|
|
307 | | 310 | | int docLineLastWrapped; |
|
3 skipped lines |
311 | | 314 | | int wrapVisualStartIndent; |
|
312 | | 315 | | int actualWrapVisualStartIndent; |
|
|
| | 317 | | bool convertPastes; |
| | 318 | | |
|
|
|
24 skipped lines |
341 | | 346 | | bool AbandonPaint(); |
|
342 | | 347 | | void RedrawRect(PRectangle rc); |
|
|
344 | | void RedrawSelMargin(); | | 349 | | void RedrawSelMargin(int line=-1); |
345 | | 350 | | PRectangle RectangleFromRange(int start, int end); |
|
346 | | 351 | | void InvalidateRange(int start, int end); |
|
|
1 skipped line |
349 | | 354 | | bool SelectionEmpty(); |
|
350 | | 355 | | int SelectionStart(); |
|
351 | | 356 | | int SelectionEnd(); |
|
| | 357 | | void SetRectangularRange(); |
352 | | 358 | | void InvalidateSelection(int currentPos_, int anchor_); |
|
353 | | 359 | | void SetSelection(int currentPos_, int anchor_); |
|
354 | | 360 | | void SetSelection(int currentPos_); |
|
95 skipped lines |
450 | | 456 | | void PageMove(int direction, selTypes sel=noSel, bool stuttered = false); |
|
451 | | 457 | | void ChangeCaseOfSelection(bool makeUpperCase); |
|
452 | | 458 | | void LineTranspose(); |
|
453 | | void LineDuplicate(); | | 459 | | void Duplicate(bool forLine); |
454 | | 460 | | virtual void CancelModes(); |
|
|
456 | | 462 | | void CursorUpOrDown(int direction, selTypes sel=noSel); |
|
| | 463 | | void ParaUpOrDown(int direction, selTypes sel=noSel); |
457 | | 464 | | int StartEndDisplayLine(int pos, bool start); |
|
458 | | 465 | | virtual int KeyCommand(unsigned int iMessage); |
|
459 | | 466 | | virtual int KeyDefault(int /* key */, int /*modifiers*/); |
|
39 skipped lines |
499 | | 506 | | virtual bool HaveMouseCapture() = 0; |
|
500 | | 507 | | void SetFocusState(bool focusState); |
|
|
| | 509 | | virtual bool PaintContains(PRectangle rc); |
| | 510 | | bool PaintContainsMargin(); |
502 | | 511 | | void CheckForChangeOutsidePaint(Range r); |
|
503 | | int BraceMatch(int position, int maxReStyle); | | |
504 | | 512 | | void SetBraceHighlight(Position pos0, Position pos1, int matchStyle); |
|
|
506 | | 514 | | void SetDocPointer(Document *document); |
|
9 skipped lines |
516 | | 524 | | void GetHotSpotRange(int& hsStart, int& hsEnd); |
|
|
518 | | 526 | | int CodePage() const; |
|
| | 527 | | int WrapCount(int line); |
|
520 | | 529 | | virtual sptr_t DefWndProc(unsigned int iMessage, uptr_t wParam, sptr_t lParam) = 0; |
|
|
51 skipped lines |