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 | |
---|---|---|
.. | ||
Themes | 5 years ago | |
style | 5 years ago | |
svg | 6 years ago | |
Announcement.js | 5 years ago | |
ApiContext.js | 5 years ago | |
AuthContext.js | 5 years ago | |
BackgroundSelect.js | 5 years ago | |
Billing.js | 5 years ago | |
Button.js | 5 years ago | |
Carbon.js | 5 years ago | |
ColorPicker.js | 5 years ago | |
ConfirmButton.js | 5 years ago | |
Dropdown.js | 5 years ago | |
Editor.js | 5 years ago | |
EditorContainer.js | 5 years ago | |
ExportMenu.js | 5 years ago | |
FontFace.js | 5 years ago | |
FontSelect.js | 6 years ago | |
Footer.js | 5 years ago | |
Header.js | 5 years ago | |
ImagePicker.js | 5 years ago | |
Input.js | 5 years ago | |
ListSetting.js | 5 years ago | |
LoginButton.js | 5 years ago | |
MenuButton.js | 5 years ago | |
Meta.js | 5 years ago | |
Overlay.js | 6 years ago | |
Page.js | 5 years ago | |
PhotoCredit.js | 7 years ago | |
Popout.js | 6 years ago | |
Presets.js | 5 years ago | |
RandomImage.js | 5 years ago | |
SelectionEditor.js | 5 years ago | |
Settings.js | 5 years ago | |
Slider.js | 5 years ago | |
SnippetToolbar.js | 5 years ago | |
SpinnerWrapper.js | 6 years ago | |
ThemeSelect.js | 6 years ago | |
Toasts.js | 5 years ago | |
Toggle.js | 5 years ago | |
Toolbar.js | 5 years ago | |
TweetButton.js | 5 years ago | |
WindowControls.js | 5 years ago | |
WindowPointer.js | 6 years ago |