Home Download Buy Blog Forum Support

Settings and line endings

Settings and line endings

Postby jburnett on Wed Nov 23, 2011 10:55 am

Hi - I had two semi-related questions:

Is there a way to enumerate the keys in a settings object?

Is there a way to query the current line endings value for a buffer? (e.g. something to go with the set_line_ending command)

(The gist is that I'm looking into writing a "show line endings on status bar" plugin).

Thanks,
John
jburnett
 
Posts: 89
Joined: Wed Jul 27, 2011 9:23 pm

Re: Settings and line endings

Postby jps on Wed Nov 23, 2011 1:31 pm

The answer is currently no to both of these, unfortunately
jps
Site Admin
 
Posts: 3058
Joined: Wed Mar 19, 2008 12:33 pm

Re: Settings and line endings

Postby jburnett on Sun Nov 27, 2011 10:54 pm

Just saw this added in 2144 - thanks! Got my plugin done ;) https://github.com/johnburnett/sublime-footools/blob/master/file_info_status_bar.py

Love the new status indicator updates too!
jburnett
 
Posts: 89
Joined: Wed Jul 27, 2011 9:23 pm


Return to Plugin Development

Who is online

Users browsing this forum: No registered users and 3 guests