lite-xl/data
Francesco Abbate b39db791f9 Do not duplicate RootView method in contextmenu
The method RootView:on_mouse_pressed was copied in the contextmenu plugin with
a small modification to intercept the mouse clicks of the active view.

This approach is problematic because a relatively large portion of code is
duplicated.

We introduced a function named RootView.on_view_mouse_pressed to let plugins
like contextmenu intercepts mouse clicks in the active area without duplicating
the function RootView:on_mouse_pressed.
2021-06-17 10:22:31 +02:00
..
colors Implement user's config as init file and add directory into package.path 2020-12-02 16:03:31 +01:00
core Do not duplicate RootView method in contextmenu 2021-06-17 10:22:31 +02:00
fonts Use FiraSans regular for UI 2021-05-27 13:49:33 +02:00
plugins Do not duplicate RootView method in contextmenu 2021-06-17 10:22:31 +02:00