vicoapp / vico

Mac Programmers Text Editor
http://www.vicoapp.com/
658 stars 89 forks source link

Console load script causes crash when opening window menu #9

Closed Shadowfiend closed 11 years ago

Shadowfiend commented 12 years ago

This seems to be related to console.nu's addMenuItem and how it does its thing.

For hackish purposes, I've currently commented out the call to addMenuItem at console.nu:119 . This changes the script requirements to load up the console to:

(load "console")
(global console ((NuConsoleWindowController alloc) init))
(console toggleConsole:nil)

Running toggleConsole repeatedly will turn the console on and off.

Shadowfiend commented 12 years ago

Hm. Extra oddly, with the develop menu in pull request #12, after the console is loaded, the window menu works correctly. So… No idea what's up there.

Shadowfiend commented 11 years ago

Not sure exactly what this was referring to, but I don't see it happening atm; closing.