Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

File Manager: Move editor's help to a separate file #790

Closed
gnadelwartz opened this issue May 22, 2017 · 6 comments
Closed

File Manager: Move editor's help to a separate file #790

gnadelwartz opened this issue May 22, 2017 · 6 comments

Comments

@gnadelwartz
Copy link
Contributor

gnadelwartz commented May 22, 2017

Hi Ilja,

can you please move editor helptext to a file like for general help, e.g. help/editor.html ? Its a mess to have everyting in one line in lang file. BTW: where is the help displayed no ? on the edit window ...

theme_xhred_editor_help_content=<i class="hidden theme_xhred_editor_help"></i><h5><strong>Find/Replace</strong></h5> <table class="table table-condensed table-hover"> <colgroup> <col width="30%"> <col width="70%"> </colgroup> <thead valign="bottom"> <tr><th class="head">Keypress</th> <th class="head">Command</th> </tr> </thead> <tbody valign="top"> <tr><td>Ctrl + F</td> <td>Find</td> </tr> <tr><td>Ctrl + H</td> <td>Replace</td> </tr> <tr><td>Ctrl + ⇧ + R</td> <td>Replace all</td> </tr> <tr><td>Ctrl + G</td> <td>Find next</td> </tr> <tr><td>Ctrl + ⇧ + G</td> <td>Find previous</td> </tr> <tr><td>Alt + G</td> <td>Jump to line</td> </tr> </tbody> </table> <h5><strong>Text manipulation</strong></h5> <table class="table table-condensed table-hover"> <colgroup> <col width="30%"> <col width="70%"> </colgroup> <thead valign="bottom"> <tr><th class="head">Keypress</th> <th class="head">Command</th> </tr> </thead> <tbody valign="top"> <tr><td>Ctrl + KU</td> <td>Transform to Uppercase</td> </tr> <tr><td>Ctrl + KL</td> <td>Transform to Lowercase</td> </tr> </tbody> </table> <h5><strong>Editing</strong></h5> <table class="table table-condensed table-hover"> <colgroup> <col width="30%"> <col width="70%"> </colgroup> <thead valign="bottom"> <tr><th class="head">Keypress</th> <th class="head">Command</th> </tr> </thead> <tbody valign="top"> <tr><td>Ctrl + Space</td> <td>Activate autocompletion</td> </tr> <tr><td>Ctrl + X</td> <td>Cut line</td> </tr> <tr><td>Ctrl + ⇧ + ↑</td> <td>Move line/selection up</td> </tr> <tr><td>Ctrl + ⇧ + ↓</td> <td>Move line/selection down</td> </tr> <tr><td>Ctrl + L</td> <td>Select line - Repeat to select next lines</td> </tr> <tr><td>Ctrl + D</td> <td>Select word - Repeat select others occurrences</td> </tr> <tr><td>Ctrl + M</td> <td>Jump to closing parentheses Repeat to jump to opening parentheses</td> </tr> <tr><td>Ctrl + ⇧ + M</td> <td>Select all contents of the current parentheses</td> </tr> <tr><td>Ctrl + ⇧ + K</td> <td>Delete Line</td> </tr> <tr><td>Ctrl + KK</td> <td>Delete from cursor to end of line</td> </tr> <tr><td>Ctrl + K + Backspace</td> <td>Delete from cursor to start of line</td> </tr> <tr><td>Ctrl + ⇧ + D</td> <td>Duplicate line(s)</td> </tr> <tr><td>Ctrl + J</td> <td>Join line below to the end of the current line</td> </tr> <tr><td>Ctrl + /</td> <td>Comment/un-comment current line</td> </tr> <tr><td>Ctrl + ⇧ + /</td> <td>Block comment current selection</td> </tr> <tr><td>Ctrl + Y</td> <td>Redo, or repeat last keyboard shortcut command</td> </tr> <tr><td>Ctrl + ⇧ + V</td> <td>Paste and indent correctly</td> </tr> <tr><td>Ctrl + Space</td> <td>Select next auto-complete suggestion</td> </tr> <tr><td>Ctrl + U</td> <td>soft undo; jumps to your last change before undoing change when repeated</td> </tr> </tbody> </table>

@gnadelwartz
Copy link
Contributor Author

found it, its in the dropdown, but I missed it because there is no Icon ;-)

@gnadelwartz
Copy link
Contributor Author

BTW: is this correct:

Ctrl + H 	Replace
Ctrl + ⇧ + R 	Replace all

having Ctrl + R for Replace seems more consistent

@iliajie
Copy link
Collaborator

iliajie commented May 22, 2017

Yes, even though keys are based on Sublime Text/Atom hotkeys, some of them were changed.

Maybe I will move it but not just right now.

@iliajie iliajie changed the title move editor helptext to file File Manager: Move editor's help to a separate file May 22, 2017
@gnadelwartz
Copy link
Contributor Author

From Atom hokeys inspired: this will also be nice:

Convert Tabs to Spaces: 	Ctrl + ⇧ + [ 	
Convert Spaces to Tabs: 	Ctrl + ⇧ + ] 

BTW: hope you can use my editor.*.html help files

@iliajie
Copy link
Collaborator

iliajie commented May 23, 2017

hope you can use my editor.*.html help files

Not sure what you mean by work use?

@gnadelwartz
Copy link
Contributor Author

in translation PR I created editor help files containing the already existing translations for editor short cuts. my hope is I have done it in the right way and you can use them for this enhancement proposal

@iliajie iliajie closed this as completed May 23, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants