Skip to content
Snippets Groups Projects
Commit 2ade528b authored by David Bühler's avatar David Bühler
Browse files

[Ivette] Source code: restores the persistent find via Alt-F key.

parent 02f5b58c
No related branches found
No related tags found
No related merge requests found
......@@ -43,6 +43,7 @@ import * as Status from 'frama-c/kernel/Status';
import CodeMirror from 'codemirror/lib/codemirror';
import 'codemirror/addon/selection/active-line';
import 'codemirror/addon/dialog/dialog.css';
import 'codemirror/addon/search/search';
import 'codemirror/addon/search/searchcursor';
// --------------------------------------------------------------------------
......@@ -130,7 +131,10 @@ export default function SourceCode() {
selection={theMarker}
lineNumbers={!!theFunction}
styleActiveLine={!!theFunction}
extraKeys={{ 'Ctrl-LeftClick': launchEditor }}
extraKeys={{
'Alt-F': 'findPersistent',
'Ctrl-LeftClick': launchEditor,
}}
readOnly
/>
</>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment