Don't work shit+Tab

Started by plazmon, May 18, 2015, 07:16:34 PM

Previous topic - Next topic

plazmon

Hi!
When typing a text, and HE indent a next line with previous pressing "Shift+Tab" don't nothing (it should to put the cursor at the previous tab position)
Example: press <Tab>, "test",  <Enter>
Code (javascript) Select
    test
    |

I think that pressing now <Shift+Tab> should return the cursor to the first column, but it do nothing.

alex

Yes, that shall work as you expect.
But, I was not able to reproduce the scenario...
By me or there is no indent after <Enter> or <Shift-Tab> does unindent properly. Which syntax have you used?
Maybe you have some invisible white space character in? It can result in such behaviour. Try to disable all plugins, maybe they influence logic.
HippoEDIT team
[url="http://www.hippoedit.com/"]http://www.hippoedit.com/[/url]

plazmon

#2
I use C-syntax files.
When I have turned on to show white spaces it's occur that after pressing <Enter> have inserted only CR/LF and no other space char but cursor have moved to 5th position.
UPD As far as I undersoode the problem is that for a new line with indent HE use "Virtual space", not real.

alex

Yes, you are right. HE does not immediately insert white space, but only if you start typing.
But in any case "unindent" shall work some how, while for user this special logic (with virtual spaces) is not obvious.

I will try to fix that in new build
HippoEDIT team
[url="http://www.hippoedit.com/"]http://www.hippoedit.com/[/url]