stefanceriu / SCXcodeMiniMap

Sublime Text like Minimap for Xcode
GNU General Public License v3.0
1.03k stars 87 forks source link

Only cover as much space as needed #7

Closed hlfcoding closed 11 years ago

hlfcoding commented 11 years ago

Refer to the minimap in SublimeText. It only is as tall as it needs to be, so in most cases, long lines are not completely blocked; there'd be an opening to see the entire line.

stefanceriu commented 11 years ago

For me SublimeText does the following depending on whether word wrapping is enabled or not.

screen shot 2013-04-30 at 10 45 05

screen shot 2013-04-30 at 10 45 32

Are you suggesting I should adjust the editor's layout to wrap around the minimap? I don't even think I can access the framesetter..

hlfcoding commented 11 years ago

Sorry, nothing that complicated. I just mean this:

screen shot 2013-04-30 at 1 21 59 pm

The minimap should only take up as much vertical space as needed. That way it doesn't totally cover up the right edge of the editor.

stefanceriu commented 11 years ago

Oh, I was definitely over thinking it. I think it can be arranged by setting the underlying's scroll view background to transparent. I'll give it a shot and see how it works out.

hlfcoding commented 11 years ago

Same as #4

hlfcoding commented 11 years ago

Looks great. Thanks so much!