Skip to content

Commit

Permalink
Added AlignAnnotations to VMemu.
Browse files Browse the repository at this point in the history
  • Loading branch information
MKadaner committed Dec 30, 2023
1 parent 23bf655 commit be6a344
Show file tree
Hide file tree
Showing 4 changed files with 341 additions and 267 deletions.
1 change: 1 addition & 0 deletions far/dialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2540,6 +2540,7 @@ bool Dialog::ProcessKey(const Manager::Key& Key)
case KEY_MSWHEEL_RIGHT:
case KEY_NUMENTER:
case KEY_ENTER:
case KEY_NUMPAD5:
auto& List = Items[m_FocusPos].ListPtr;
int CurListPos=List->GetSelectPos();
List->ProcessKey(Key);
Expand Down
4 changes: 2 additions & 2 deletions far/editor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3772,10 +3772,10 @@ void Editor::DoSearchReplace(const SearchReplaceDisposition Disposition)

case KEY_CTRLENTER:
case KEY_RCTRLENTER:
// TODO: Need to handle mouse events with ProcessMouse(). This implementation is accpetable,
// TODO: Need to handle mouse events with ProcessMouse(). This implementation is acceptable,
// but a click on the border jumps to the currently selected item without changing the item.
// Normally, mouse click on the border frame does nothing. Mouse click on the border
// ouside of the frame starts dragging the dialog.
// outside of the frame starts dragging the dialog.
case KEY_CTRL|KEY_MSLCLICK:
case KEY_RCTRL|KEY_MSLCLICK:
{
Expand Down
Loading

0 comments on commit be6a344

Please sign in to comment.