Skip to content

Commit

Permalink
Improve large file support, issue #79.
Browse files Browse the repository at this point in the history
  • Loading branch information
zufuliu committed Oct 24, 2018
1 parent a5aae61 commit 81e1e86
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Edit.c
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,8 @@ HWND EditCreate(HWND hwndParent) {
SendMessage(hwnd, SCI_SETADDITIONALCARETSVISIBLE, FALSE, 0);
// style both before and after the visible text in the background
SendMessage(hwnd, SCI_SETIDLESTYLING, SC_IDLESTYLING_ALL, 0);
// cache layout for visible lines
SendMessage(hwnd, SCI_SETLAYOUTCACHE, SC_CACHE_PAGE, 0);

SendMessage(hwnd, SCI_ASSIGNCMDKEY, (SCK_NEXT + (SCMOD_CTRL << 16)), SCI_PARADOWN);
SendMessage(hwnd, SCI_ASSIGNCMDKEY, (SCK_PRIOR + (SCMOD_CTRL << 16)), SCI_PARAUP);
Expand Down

0 comments on commit 81e1e86

Please sign in to comment.