Author Topic: Don't work shit+Tab  (Read 837 times)

Offline plazmon

  • Newbie
  • *
  • Posts: 25
  • Karma: +0/-0
    • View Profile
Don't work shit+Tab
« on: May 18, 2015, 06:16:34 pm »
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
  1.     test
  2.     |
I think that pressing now <Shift+Tab> should return the cursor to the first column, but it do nothing.

Offline alex

  • Developer
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2161
  • Karma: +37/-3
    • View Profile
    • HippoEDIT
Re: Don't work shit+Tab
« Reply #1 on: May 18, 2015, 11:58:54 pm »
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.

Offline plazmon

  • Newbie
  • *
  • Posts: 25
  • Karma: +0/-0
    • View Profile
Re: Don't work shit+Tab
« Reply #2 on: May 19, 2015, 01:31:25 pm »
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.
« Last Edit: May 19, 2015, 03:50:08 pm by plazmon »

Offline alex

  • Developer
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2161
  • Karma: +37/-3
    • View Profile
    • HippoEDIT
Re: Don't work shit+Tab
« Reply #3 on: May 19, 2015, 05:55:10 pm »
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

 

Related Topics

  Subject / Started by Replies Last post
3 Replies
1657 Views
Last post March 23, 2009, 10:59:15 am
by alex
12 Replies
3757 Views
Last post April 25, 2009, 03:23:48 pm
by allen
1 Replies
981 Views
Last post July 16, 2009, 10:35:15 am
by alex
1 Replies
1188 Views
Last post February 29, 2012, 10:02:02 pm
by alex
6 Replies
1576 Views
Last post September 18, 2014, 02:24:45 pm
by Andreas