Open acdha opened 11 years ago
Hrm, which version of TextMate are you using?
I'm assuming this happens in the "detailed" view. e.g hitting ⌘K
?
Thanks for reporting this!
Yeap - using 2.0-alpha.9427 if I hit ⌘K the window shrinks to the height of the detailed report view, but apparently not less than 14 lines or so:
I noticed that TextMate has an “Auto–adjust window size” option but I don't have it enabled. Interestingly, if I switch displaying command output on the right to the default display on the bottom, the behaviour changes to shrink the window width rather than height.
If I delete the resizeBy
call in output.html, the behaviour goes away with no apparent drawbacks:
https://github.com/eoneill/JSHintMate.tmbundle/blob/master/Support/output.html#L84
This doesn't change anything when there is no output and it doesn't interfere with the window size allowing scrolling when there's tons of output.
Ah! My TextMate is set to show the output in a separate window.
I'll look into removing the resizeBy
method. Thanks for looking into this!
I noticed that when the JSHint output is shorter than the window height, the entire TextMate window shrinks to fit the output pane