Skip to content

Commit

Permalink
Fix accidential wrong indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
tobiolo committed Nov 5, 2024
1 parent 2cc4c3f commit 6e9b297
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/document.h
Original file line number Diff line number Diff line change
Expand Up @@ -897,11 +897,11 @@ struct Document {
case WXK_ESCAPE: // docs say it can be used as a menu accelerator, but it does not
// trigger from there?
return Action(dc, A_CANCELEDIT);
#ifdef WIN32 // works fine on Linux, not sure OS X
case WXK_PAGEDOWN: sw->CursorScroll(0, g_scrollratecursor); return nullptr;
case WXK_PAGEUP: sw->CursorScroll(0, -g_scrollratecursor); return nullptr;
#endif
#ifdef __WXGTK__
#ifdef WIN32 // works fine on Linux, not sure OS X
case WXK_PAGEDOWN: sw->CursorScroll(0, g_scrollratecursor); return nullptr;
case WXK_PAGEUP: sw->CursorScroll(0, -g_scrollratecursor); return nullptr;
#endif
#ifdef __WXGTK__
// Due to limitations within GTK, wxGTK does not support specific keycodes
// as accelerator keys for menu items. See wxWidgets documentation for the
// wxMenuItem class in order to obtain more details. This is why we implement
Expand Down

0 comments on commit 6e9b297

Please sign in to comment.