diff options
| author | Maxime Coste <mawww@kakoune.org> | 2017-05-07 13:43:43 +0100 |
|---|---|---|
| committer | Maxime Coste <mawww@kakoune.org> | 2017-05-07 16:26:14 +0100 |
| commit | 4e9193a97525efef93c097bd86934ec821dbeeeb (patch) | |
| tree | 9da6861fdd74c5dfbdb0f69d25825a612f255d81 /src/highlighter.hh | |
| parent | b4b08d10b4966c73b56c0823fe888117482ac9df (diff) | |
Slight highlighting related code cleanup
Diffstat (limited to 'src/highlighter.hh')
| -rw-r--r-- | src/highlighter.hh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/highlighter.hh b/src/highlighter.hh index fa0be424..40d19abc 100644 --- a/src/highlighter.hh +++ b/src/highlighter.hh @@ -43,10 +43,10 @@ struct DisplaySetup DisplayCoord window_pos; // Range of lines and columns from the buffer that will get displayed DisplayCoord window_range; - // Offset of line and columns that must remain visible around cursor - DisplayCoord scroll_offset; // Position of the cursor in the window DisplayCoord cursor_pos; + // Offset of line and columns that must remain visible around cursor + const DisplayCoord scroll_offset; }; struct Highlighter |
