Make ecb selction work with the mouse like every other IDE sidebar ever, with the left mouse button

This commit is contained in:
Timothy Warren 2018-07-05 16:22:16 -04:00
parent 5ab7f3840d
commit ea42dc1161
2 changed files with 47 additions and 7 deletions

View File

@ -20,15 +20,56 @@
'(ecb-auto-activate t) '(ecb-auto-activate t)
'(ecb-auto-expand-tag-tree (quote all)) '(ecb-auto-expand-tag-tree (quote all))
'(ecb-auto-update-methods-after-save t) '(ecb-auto-update-methods-after-save t)
'(ecb-major-modes-show-or-hide (quote ((typescript php web mardown))))
'(ecb-methods-nodes-collapse-spec nil) '(ecb-methods-nodes-collapse-spec nil)
'(ecb-non-semantic-methods-initial-expand nil) '(ecb-non-semantic-methods-initial-expand nil)
'(ecb-options-version "2.50") '(ecb-options-version "2.50")
'(ecb-show-only-positioned-tags t) '(ecb-show-only-positioned-tags t)
'(ecb-tag-visit-post-actions '(ecb-show-tags
(quote (quote
((default ecb-tag-visit-smart-tag-start ecb-tag-visit-highlight-tag-header ecb-tag-visit-recenter ecb-tag-visit-smart-tag-start) ((default
(php-mode ecb-tag-visit-goto-doc-start)))) (include collapsed nil)
(parent expanded nil)
(type expanded nil)
(variable expanded access)
(function expanded access)
(label expanded nil)
(t expanded nil)
(alias hidden nil))
(c++-mode
(include collapsed nil)
(parent collapsed nil)
(type flattened nil)
(variable collapsed access)
(function flattened access)
(function collapsed access)
(label hidden nil)
(t collapsed nil))
(c-mode
(include collapsed nil)
(parent collapsed nil)
(type flattened nil)
(variable collapsed access)
(function flattened access)
(function collapsed access)
(label hidden nil)
(t collapsed nil))
(bovine-grammar-mode
(keyword collapsed name)
(token collapsed name)
(nonterminal flattened name)
(rule flattened name)
(t collapsed nil))
(wisent-grammar-mode
(keyword collapsed name)
(token collapsed name)
(nonterminal flattened name)
(rule flattened name)
(t collapsed nil))
(texinfo-mode
(section flattened nil)
(def collapsed name)
(t collapsed nil)))))
'(ecb-tip-of-the-day nil) '(ecb-tip-of-the-day nil)
'(ecb-tree-navigation-by-arrow nil)) '(ecb-tree-navigation-by-arrow nil)
'(ecb-primary-secondary-mouse-buttons (quote mouse-1--C-mouse-1))
)

View File

@ -12,7 +12,6 @@ you should place your code here."
(setq neo-theme (if (display-graphic-p) 'icons 'arrow)) (setq neo-theme (if (display-graphic-p) 'icons 'arrow))
(setq neo-vc-integration '(face)) (setq neo-vc-integration '(face))
;; Use typescript mode for js/jsx too ;; Use typescript mode for js/jsx too
(add-hook 'before-save-hook 'tide-format-before-save) (add-hook 'before-save-hook 'tide-format-before-save)
(setq tide-format-options (setq tide-format-options