On Oct 1, 2012, at 1:26 AM, Benjamin Madueme <bmadu...@andrew.cmu.edu> wrote:

> […] If you guys are okay with us working on this issue, we'd appreciate it if 
> we were given tips as to which source files deal with the file browser, and 
> where we might want to implement this feature

Sure, the file in question is this one 
https://github.com/textmate/textmate/blob/master/Frameworks/OakFileBrowser/src/OakFileBrowser.mm

It should contain all the actions you can invoke from the file browser — I’d 
probably do a bit of refactoring though, trying to come up with more of a model 
(in MVC speak) that represent what the file browser can do, also to make it 
easier to change the visualization of the browser, re the mockup on the wiki: 
https://github.com/textmate/textmate/wiki/Main-Window

> Otherwise, if you think there is something more important that we could work 
> on, we'd be happy to do that instead.

Important is rather subjective :) By far split view is the issue that has 
gathered the most comments, but I also think it’s pretty complex because the 
usability aspect is unclear and there are issues related to having multiple 
views of the same document then sharing caret/selections and undo/redo history.

If I were to suggest something then it would be 
https://github.com/textmate/textmate/issues/94 — though rather than have the 
arrow expand/collapse the text fields, have them adapt in size similar to the 
text field used in Adium. If we had such adaptive text field, I would also use 
it in Preferences → Projects (for the pattern text fields) and other places 
where content can become one long line.

With the new constraint based layout this should be doable as a self-contained 
class as a view can now call [self invalidateIntrinsicContentSize] and trigger 
a relayout of the containing window.

Currently the Find window does not use constraint based layout, so it would 
need to be converted first. I’ll gladly help out with some of this.

_______________________________________________
textmate-dev mailing list
textmate-dev@lists.macromates.com
http://lists.macromates.com/listinfo/textmate-dev

Reply via email to