stormherz / atom-incsearch Goto Github PK
View Code? Open in Web Editor NEWMinimalistic incremental search for Atom editor
License: MIT License
Minimalistic incremental search for Atom editor
License: MIT License
In incsearch/styles/incsearch.less
:
Starting from Atom v1.13.0, the contents of atom-text-editor
elements are no longer encapsulated within a shadow DOM boundary. This means you should stop using :host
and ::shadow
pseudo-selectors, and prepend all your syntax selectors with syntax--
. To prevent breakage with existing style sheets, Atom will automatically upgrade the following selectors:
atom-text-editor .incsearch-highlight .region, atom-text-editor::shadow .incsearch-highlight .region
=> atom-text-editor .incsearch-highlight .region, atom-text-editor.editor .incsearch-highlight .region
atom-text-editor .incsearch-current .region, atom-text-editor::shadow .incsearch-current .region
=> atom-text-editor .incsearch-current .region, atom-text-editor.editor .incsearch-current .region
Automatic translation of selectors will be removed in a few release cycles to minimize startup time. Please, make sure to upgrade the above selectors as soon as possible.
It would be great if Ctrl
+ I
would move to the next match, if a search is already started. IMHO that makes the usage so much easier and faster than with separate key bindings.
I have added the following keybindings into my custom config, and this really makes using your package great:
'.platform-win32 .incsearch, .platform-linux .incsearch':
'ctrl-i': 'incsearch:goto:next-match'
'shift-ctrl-i': 'incsearch:goto:prev-match'
'.platform-darwin .incsearch':
'cmd-i': 'incsearch:goto:next-match'
'shift-cmd-i': 'incsearch:goto:prev-match'
In sublime, when the user presses shift-cmd-I the incremental search looks for previous matches. Currently with atom-incsearch to look for previous matches the user has to first press cmd-I, type their search, then press shift-cmd-I. Is it possible to add a setting to press shift-cmd-I to toggle reverse-search mode?
In incsearch\styles\incsearch.less
:
Starting from Atom v1.13.0, the contents of atom-text-editor
elements are no longer encapsulated within a shadow DOM boundary. This means you should stop using :host
and ::shadow
pseudo-selectors, and prepend all your syntax selectors with syntax--
. To prevent breakage with existing style sheets, Atom will automatically upgrade the following selectors:
atom-text-editor .incsearch-highlight .region, atom-text-editor::shadow .incsearch-highlight .region
=> atom-text-editor .incsearch-highlight .region, atom-text-editor.editor .incsearch-highlight .region
atom-text-editor .incsearch-current .region, atom-text-editor::shadow .incsearch-current .region
=> atom-text-editor .incsearch-current .region, atom-text-editor.editor .incsearch-current .region
Automatic translation of selectors will be removed in a few release cycles to minimize startup time. Please, make sure to upgrade the above selectors as soon as possible.
Repro steps:
apm install api-docs
undefined
), Ctrl+Shift+P, Api Docs: Search Under Cursor
. An HTML doc view pane opens.incsearch:toggle
.Atom Version: 1.12.7
Electron Version: 1.3.13
System: Ubuntu 15.10
Thrown From: incsearch package, v0.3.3
Uncaught TypeError: Cannot read property 'onDidDestroy' of undefined
At /home/ulidtko/.atom/packages/incsearch/lib/incsearch.coffee:138
TypeError: Cannot read property 'onDidDestroy' of undefined
at Object.show (/home/ulidtko/.atom/packages/incsearch/lib/incsearch.coffee:138:11)
at atom-workspace.subscriptions.add.atom.commands.add.incsearch:toggle (/home/ulidtko/.atom/packages/incsearch/lib/incsearch.coffee:108:10)
at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/usr/share/atom/resources/app.asar/src/command-registry.js:259:29)
at /usr/share/atom/resources/app.asar/src/command-registry.js:3:59
at KeymapManager.module.exports.KeymapManager.dispatchCommandEvent (/usr/share/atom/resources/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:587:16)
at KeymapManager.module.exports.KeymapManager.handleKeyboardEvent (/usr/share/atom/resources/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:382:22)
at WindowEventHandler.module.exports.WindowEventHandler.handleDocumentKeyEvent (/usr/share/atom/resources/app.asar/src/window-event-handler.js:106:36)
at HTMLDocument.<anonymous> (/usr/share/atom/resources/app.asar/src/window-event-handler.js:3:59)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.