mirror of https://github.com/sgoudham/carbon.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
191113aa5f
* Make the editorRef as a required parameter of useGutterClickHandler For the external line number selection it is required that we access the CodeMirror editor anywhere in the hook * Refactor the line highlight logic to handle "unknown" lines as non-selected Only execute the highlight when there is a valid selection (there are some keys set in state.selected) Additionally also execute the highlight logic when the line numbers are not visible (E.g. line.gutter is falsy) * Pass in the selectedLines from the query string and implement the pre-selection logic * Rename useGutterClickHandler to better explain its function * Adding nemesv as contributor * quick tweak * tweak |
5 years ago | |
---|---|---|
.. | ||
custom/modes | 5 years ago | |
api.js | 5 years ago | |
client.js | 5 years ago | |
constants.js | 5 years ago | |
highlight-languages.js | 5 years ago | |
routing.js | 5 years ago | |
util.js | 5 years ago |