Forum Archive

problem in Tabs

polymerchm

@JonB when trying to use the Find and replace feature of Tabs edit menu, I keep getting errors on the method:

editor._set_toolbar(v)

which to the best of my knowledge does not exist. editor._set_sidebar does.

I'm using 1.6

I changed the line:

editor._set_toolbar(v)

to

v.present('popover')

and now its fine. @OMZ: Guess some earlier incarnation of the editor has a toolbar as well as a well as a sidebar

smath

omz had indicated that he might remove the toolbar function in the future, and it sounds like he has. I used it anyway hoping that he would change his mind. It's very difficult to make a find and replace UI work with a sidebar.