Home Download Buy Blog Forum Support

20100527 Beta

Re: 20100527 Beta

Postby sztanpet on Fri May 28, 2010 4:07 pm

this version just broke my @ (ctrl+alt+v) which is now the bind for invertselection,
how can I unbind a key? please excuse my ignorance but I did try searching for this on the forum but stopped after the sixth page
sztanpet
 
Posts: 3
Joined: Fri May 28, 2010 3:58 pm

Re: 20100527 Beta

Postby jps on Sat May 29, 2010 12:27 am

@sztanpet: I'll remove that key binding for the next beta, but in the mean time you can remove it by editing Preferences/Default Key Bindings, and removing the line with invertSelection
jps
Site Admin
 
Posts: 3067
Joined: Wed Mar 19, 2008 12:33 pm

Re: 20100527 Beta

Postby sztanpet on Sat May 29, 2010 8:27 am

Yes, but that will be overwritten with new versions and I was looking for a more permanent solution. Which you now provided, much thanks.
sztanpet
 
Posts: 3
Joined: Fri May 28, 2010 3:58 pm

Re: 20100527 Beta

Postby vincetg2 on Tue Jun 08, 2010 8:20 am

Chortos-2 wrote:
jps wrote:The tag added to the whitespace is used for another purpose too: if you start editing another line without adding anything after the whitespace, the whitespace will be removed. This reduces the amount of unwanted trailing whitespace in files.
It would be very nice to have a configuration option to turn this behaviour on or off.

Meanwhile, the new functionality works well. Thank you! :)


I agree, the disappearing whitespace experience is quite jarring for me. I usually rely on empty, indented lines for when I want to add more code quickly and easily. Also, I've never seemed to have a problem with unwanted trailing whitespace, so an option to turn this off would be really great, thanks!

EDIT: I just saw that this was an option all along (trimAutomaticWhitespace). Sorry! And thanks!
vincetg2
 
Posts: 1
Joined: Tue Jun 08, 2010 8:15 am

Re: 20100527 Beta

Postby naughty on Tue Jun 08, 2010 10:44 am

I'm having issues trying to setup Indentation Rules for Lua in 20100529 beta.

I've saved the following to %AppData%\Sublime Text\Packages\Lua\Indentation Rules.tmPreferences

Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
   <key>name</key>
   <string>Indentation Rules</string>
   <key>scope</key>
   <string>source.lua</string>
   <key>settings</key>
   <dict>
      <key>increaseIndentPattern</key>
      <string>^.*\s+(do|then|else|repeat|\{)\s*$</string>
      <key>decreaseIndentPattern</key>
      <string>(^\s*(end\s*$)|(^\s*until)</string>
   </dict>
</dict>
</plist>


It stills seems to be using the old indentation system though, there's no difference in functionality AFAICT.
naughty
 
Posts: 3
Joined: Mon Jun 07, 2010 2:02 pm

Re: 20100527 Beta

Postby jps on Wed Jun 09, 2010 11:15 pm

@naughty: Lua indentation rules should already be present in 20100529, in Packages/Lua/Indent.tmPreferences
jps
Site Admin
 
Posts: 3067
Joined: Wed Mar 19, 2008 12:33 pm

Re: 20100527 Beta

Postby naughty on Thu Jun 10, 2010 8:27 am

Well now I feel silly :^)

Thanks
naughty
 
Posts: 3
Joined: Mon Jun 07, 2010 2:02 pm

Previous

Return to General Discussion

Who is online

Users browsing this forum: No registered users and 33 guests