Home Download Buy Blog Forum Support

strange parenthesis behaviour

strange parenthesis behaviour

Postby kib2 on Sat Jul 19, 2008 10:47 pm

Open a new file and copy/paste this line :

Code: Select all
(something(here)


    - Now put your cursor at the end of the word 'here', just before the closing parenthesis.
    - Try to enter a new closing parenthesis.

You just can't because Sublime overwrites the next parenthesis: bug ?
kib2
 
Posts: 38
Joined: Sun Mar 23, 2008 8:30 am
Location: France

Re: strange parenthesis behaviour

Postby gpfsmurf on Sun Jul 20, 2008 5:55 pm

I think it's by design.

To enter another closing parenthesis, move past the last parenthesis and add a new one.

Or you can press ')' twice.
gpfsmurf
 
Posts: 211
Joined: Mon Jun 23, 2008 6:31 pm

Re: strange parenthesis behaviour

Postby jps on Mon Jul 21, 2008 11:09 am

Yeah that's working as intended: You can set autoMatchEnabled to false in Default File Type.sublime-options if you'd rather it not do that.
jps
Site Admin
 
Posts: 3067
Joined: Wed Mar 19, 2008 12:33 pm

Re: strange parenthesis behaviour

Postby kib2 on Mon Jul 21, 2008 2:15 pm

Thanks jps,
I've missed autoMatchEnabled.
kib2
 
Posts: 38
Joined: Sun Mar 23, 2008 8:30 am
Location: France


Return to Technical Support

Who is online

Users browsing this forum: thecoder149 and 25 guests