Feature #736

MouseWheel should also work on EditorBar

Added by Zbigniew Rebacz over 6 years ago. Updated over 6 years ago.

Status:ApprovedStart date:04/05/2014
Priority:NormalDue date:
Assignee:Miroslav Fidler% Done:

100%

Category:CodeEditorSpent time:-
Target version:-

Description

In current version of U++ EditorBar (Part of Code Editor) doesn't recognize mouse wheel event. I think that we should change this behavior, because it is not friendly for users.

So, what should "MouseWheel" method do in EditorBar? It should call exactly the same event in the code editor.

Implementation (CodeEditor/EditorBar.cpp):

void EditorBar::MouseWheel(Point p, int zdelta, dword keyflags)
{
    if(editor)
        editor->MouseWheel(p, zdelta, keyflags);
}

CodeEditor.h Magnifier - Header with addition method "MouseWheel" (EditorBar class) (16.3 KB) Zbigniew Rebacz, 04/05/2014 12:44 PM

EditorBar.cpp Magnifier - Contains implementation of "MouseWheel" (11.5 KB) Zbigniew Rebacz, 04/05/2014 12:44 PM

History

#1 Updated by Zbigniew Rebacz over 6 years ago

  • Status changed from New to Patch ready

#2 Updated by Miroslav Fidler over 6 years ago

  • Status changed from Patch ready to Approved

Thanks

Also available in: Atom PDF