TextShapeView was another Cocoa Text system hack project I started a few years ago.
I made a view that displays a zoomed out view of a string from a text view, with indentation, along with a rectangle showing where the text view is in the file.
You can click around in the view to move the It also highlights the selection, and draws lines in blue if they contain the string in the NSFindPBoard, so you can see all the lines in the file that match when you use the Find panel.
This is available under a Creative Commons license, and I’d ask that if you make any improvements, you send them back to me or join the ‘leverage’ sourceforge project, where the code is hosted. I wanted to eventually make this into a Cocoa text plugin like my I-Search plugin.
Here is the SVN repository for the textshape code.
There was also a Source code Tarball with a demo app, shown in the screenshot below:

Nicholas Riley 7:51 pm on September 7, 2009 Permalink |
This is kind of the point of services like Google App Engine. Unfortunately they still make you worry about scale before you really need to.
And yeah, it’s really hard to resist the tinkering urge. I spent an hour last week trying to hack up an application interface to Quick Look to let me go full-screen. (The documented APIs aren’t very flexible and the undocumented ones are overcomplicated. It didn’t go very far.)