Hirse / brackets-outline-list

Extension for Brackets and Phoenix to display a list of the functions or definitions in the currently opened document.
MIT License
79 stars 30 forks source link

Height when shown on left panel #34

Open CagatayUlubay opened 9 years ago

CagatayUlubay commented 9 years ago

Hey there,

first thanks for this great plugin!

Let's come to the point: When you switch outline position to the left side and you don't maximize your window, you can't scroll down in the way you want to. At first nothing works, but in the second I just can scroll down to a specific position but not to the most bottom place. So few methods at the bottom are missing. If I increase the window height, they come back and appear.

Sometimes I don't want to have a to high height, so if this would work at this behaviour too, it would be perfect.

thumps up

CagatayUlubay commented 9 years ago

example

Hirse commented 9 years ago

I am glad you like it. Unfortunately I am currently unable to reproduce this error. Could you tell me the exact steps you do to get this error?

CagatayUlubay commented 9 years ago

Step 1. Press the Button under the "Plugin" Button to open the Brackets-Outline-Plugin. Step 2. Press the Button next to the "Settings" icon, which change position of the Brackets-Outline-Plugin from right to the left, right under the file-navigation Step 3: If window is maximized, press the button next to the closing "X" at the top right corner, which re-maximize the window (standard Windows feature)

Now just try to scroll down the Brackets-Outline-Plugin list which is at the left bottom side (under the file-navigation) right now. Its either won't scroll or it will, but just to a specific point and than reach a point, where you can't scroll anymore like it's reached the end, even if it's didn't reached the end. (like in the picture)

Could I help you?

Hirse commented 9 years ago

Thanks for the guide. I did your steps, but I don't see that problem. I am sorry you have this issue, but I don't see anything I can do right now. Does it help when you resize the outline panel vertically? Do you have any other extensions installed that change the height of the sidebar?

manderson23 commented 9 years ago

I also see a similar issue with Brackets 1.4 on Linux. I did the following:

  1. Installed the plugin
  2. Clicked Toggle Outline to display the outline for the already opened XML file

The outline displays on the left but does not scroll so I cannot see all entries. I have no other extensions installed that change the sidebar.

Hirse commented 9 years ago

I don't have a Linux available currently so I can't verify this easily. I will see what I can do to get one. In the meantime feel free to investigate yourself and submit a PR if you find anything.

manderson23 commented 9 years ago

I can also confirm this happens with 1.4 on Mac.

manderson23 commented 9 years ago

And I also see this with 1.4 on Windows. Note that in this case I have no other extensions installed.

On Windows I opened bootstrap.js from the latest version 3.3.5 to test. The outline panel would scroll horizontally but not vertically.

Hirse commented 9 years ago

I am only able to reproduce this if I make my window about 300px small, which doesn't seem to be a realistic assumption. Can you check the dimensions of your Brackets window when this occurs?

manderson23 commented 9 years ago

On Linux it occurs when maximised on my 1920 x 1200 display. Pretty sure I was near maximised on Windows/Mac too. Certainly nowhere near 300px.

fdbozzo commented 8 years ago

Hi, just coming in to confirm that happens to me too, as explained in first message, with Brackets maximized (1920x1080) or with any window size (not maximized).

I'm currently using:

When Outline panel is in left-side, there are no scrolling possible with scroll-wheel or trying to use the little black rectangle that appears in the image (may be it's not a handle like appears visually):

selection_048

When Outline panel is in right-side, then you can scrolling, but text is overlapped from the main window and from the menu, hiding some options:

selection_049

I'm currently learning Javascript, so I can't debug this by myself right now :(