orc-lang / orc

Orc programming language implementation
https://orc.csres.utexas.edu/
BSD 3-Clause "New" or "Revised" License
40 stars 3 forks source link

vertical resizing of "try orc" edit pane broken #67

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Go to http://orc.csres.utexas.edu/tryorc.shtml
2. Drag the grey bar at the bottom of the editor down

Expected: editor gets bigger
Actual: editor stays same size but new scrollbar appears

I have only tested this in Firefox 3.6.3 on Windows Vista.

Investigating this in Firebug, it looks like the issue is the resizer -- 
http://code.google.com/p/orc/source/browse/trunk/Orchard/web/orc-ready.js#630 
-- is resizing CodeMirror's iframe, but CodeMirror added a div 
class="CodeMirror-wrapping" around that iframe with a fixed width.

I think it should work to change the resizer to resize the CodeMirror-wrapping 
div instead of the iframe.

Original issue reported on code.google.com by adrianqu...@gmail.com on 11 Jul 2010 at 5:56

GoogleCodeExporter commented 9 years ago

Original comment by jthywissen on 9 Aug 2010 at 11:11