57 skipped lines |
|
|
60 | | 60 | | char DocumentAccessor::StyleAt(int position) { |
|
| | 61 | | // Mask off all bits which aren't in the 'mask'. |
61 | | return pdoc->StyleAt(position); | | 62 | | return static_cast<char>(pdoc->StyleAt(position) & mask); |
|
|
64 | | 65 | | int DocumentAccessor::GetLine(int position) { |
|
23 skipped lines |
|
|
90 | | 91 | | void DocumentAccessor::StartAt(unsigned int start, char chMask) { |
|
| | 92 | | // Store the mask specified for use with StyleAt. |
| | 93 | | mask = chMask; |
91 | | 94 | | pdoc->StartStyling(start, chMask); |
|
92 | | 95 | | startPosStyling = start; |
|
|
91 skipped lines |