It would be really nice to have a taller pattern editor to work with. Is there some way I can hack the CSS to accomplish this? I got close by editing the expression class, but that doesn’t change the number of lines the ace editor shows.
Yep, that’s the CSS that sets height to 50% of viewport (to allow for preview, status lines, etc). Pasted here for others:
#expression, #mapperEditor {
height: 50vh;
width: 100%;
margin-top: 1em;
}
Changing height: 50vh;
to height: 70vh;
or so gives you a bit more room, depending on your screen size some of the other bits might still be visible. I picked 50% for broad compatibility, but I could see how it might get annoying for lots of code.
Ace locks on to a bunch of stuff when it starts up, but resizing the window will fire an event that causes it to recalc.
Aha! I was pretty close, just needed to trigger Ace to recalc.