Home Download Buy Blog Forum Support

[BUG] Tab completion after table tag

[BUG] Tab completion after table tag

Postby hcabbos on Fri May 13, 2011 12:49 pm

To reproduce (on Mac), type "table" + tab. The table open & close tags gets created. Without moving the cursor, hit 2 returns then move up so the cursor is in the middle like so:

<table>
[cursor here]
</table>

If you now type "tr" + tab, the <tr> tag isn't created as expected. If however you delete the letters "tr" then try it again, the tab completion does work this time around. Seems like a bug.
hcabbos
 
Posts: 11
Joined: Thu Mar 03, 2011 2:03 pm

Re: [BUG] Tab completion after table tag

Postby Adem on Sun May 22, 2011 11:14 am

Hi hcabbos,

I noticed the same bug but with a div-tag and a p-tag as a child - this seems to be reproducible with every html tag. My OS: Windows 7, Sublime Text V2. However, I had Ubuntu installed for a day and noticed that this bug doesn't exist when using the Linux version of Sublime Text 2.

The bug can be described as follows:

Approach:
Code: Select all
div [TAB] [ENTER] [CTRL+SHIFT+ENTER] lorem [TAB]

Expected:
Code: Select all
<div>
Lorem ipsum...[CURSOR]
</div>

Result:
Code: Select all
<div>

</div>[CURSOR]


Thanks in advance for dealing with a bugfix. :)

btw: You don't have to delete the tag, just navigate to it once again and press tab.
Adem
 
Posts: 2
Joined: Sun May 22, 2011 11:01 am


Return to Technical Support

Who is online

Users browsing this forum: Yahoo [Bot] and 30 guests