From mboxrd@z Thu Jan 1 00:00:00 1970 From: khamis2@t-online.de (Khamis Abuelkomboz) To: Christie Unitt Cc: "'sourcenav@sources.redhat.com'" Subject: Re: Can't edit anything anymore in SNAV 5.0 Date: Wed, 20 Jun 2001 14:16:00 -0000 Message-id: <3B311296.1070302@t-online.de> References: <522FDAAFD532D511A0AB0002A51390EBF002F6@cat01s2.catena.com> X-SW-Source: 2001-q2/msg00252.html You should delete the saved SN-prefrences file %PROFILE%/.sn/project.pre This will fix the problem, blank entries in the preferences for colors or fonts will cause this problem. Khamis Christie Unitt wrote: > Hi, > > I sent this as a bug report to support@cygnus.com. I'm not sure the best > process for reporting this problem. > > I successfully installed Source Navigator 5.0 on my WinNT4 machine and was > using it with no problems. I was experimenting with changing the colour > preferences when I managed to save as default a blank value for the > background text of the editor. Since that time I am now unable to open the > editor on any file. I have tried deleting and re-installing the snav. I have > also tried creating new projects. Please help. I have also tried to change > the colour option using the Project Preferences from the Symbols window. Is > there a registry entry or file which I can delete somewhere to get rid of > this problem. I don't mind losing all preference info, I just want to be > able to edit again! > > Thanks for your help. The text from the bug report follows. > > Cheers, > Christie > > unknown color name "" > (processing "-background" option) > invoked from within > "$itk_component(editor) configure -font $sn_options(def,edit-font) -fg > $sn_options(def,edit-fg) -bg $sn_options(def,edit-bg) -selectforeground > $sn_..." > (object "::.multiwindow-4.nbook.nbframe.edit.paned.edit.editor" method > "::Editor&::Update_Layout" body line 5) > invoked from within > "Update_Layout" > while constructing object > "::.multiwindow-4.nbook.nbframe.edit.paned.edit.editor" in > ::Editor&::constructor (body line 102) > invoked from within > "Editor& $itk_component(editorpane).editor -symbols > $itk_component(symbolcombo) -symbols_filter ${SymbolsFilter} -menu > $itk_component(menu) -toolbar ""..." > (while creating component "editor" for widget "::.multiwindow-4") > (object "::.multiwindow-4" method "::itk::Archetype::itk_component" ) > invoked from within > "itk_component add editor { > Editor& $itk_component(editorpane).editor -symbols > $itk_component(symbolcombo) -symbols_filter ${SymbolsFilter} -menu ..." > (object "::.multiwindow-4" method "::MultiWindow&::AddEditor" body line > 18) > invoked from within > "AddEditor $itk_component(notebook) edit" > while constructing object "::.multiwindow-4" in > ::MultiWindow&::constructor (body line 38) > invoked from within > "MultiWindow& ${name} -symbolname ${file} -raise edit" > (procedure "::Editor&::EditFile" body line 155) > invoked from within > "Editor&::EditFile ${symbol} ${file} ${line} ${search} ${state}" > (procedure "sn_edit_file" line 7) > invoked from within > "sn_edit_file f ${file}" > (procedure "edit_member" line 60) > invoked from within > "edit_member ${w}" > (procedure "edit_symbol" line 3) > invoked from within > "edit_symbol .multisymbr-1.symbr.list.tree" > (command bound to event) > >