I recently spent some time working on a plugin (<a href="https://github.com/Mr0grog/editorconfig-textmate">https://github.com/Mr0grog/editorconfig-textmate</a>) to support EditorConfig (<a href="http://editorconfig.org">http://editorconfig.org</a>).<div>
<br></div><div>One of EditorConfig's features is the ability to specify line endings to use with a property named "end_of_line". Looking into TextMate, OakDocument has -lineEnding and -setLineEnding. Are these the right methods to call? What should I pass to them? (Calling -lineEnding always just gave me back nil whenever I tried it.)</div>
<div><br></div><div>I know all the work is happening on TM2 right now (this is currently written to work against TM1), but I'd like to get it working for both versions.</div><div><br></div><div>Thanks for any help!</div>
<div><br></div><div>-Rob</div>