I use a weird hack to prevent Coda’s Formula Builder from popping up when interacting with the “Supported Characters” feature of the Setup Guide’s Custom Setup option. It works by opening a link to the current page’s current row with OpenWindow() immediately after the user clicks a button. As long as that row is visible within the viewport, Coda doesn’t scroll the page so there’s no jarring side effect. ObjectLink() returns a link to the
page, but we need to include the “row hash” for the hack to work, otherwise Coda opens a new browser tab. We just hardcode this hash because, thankfully, when someone copies a doc the row hashes are all retained in the copied version. This will only need to be updated if the position of the “sidebar” is moved elsewhere on the page or in the doc.