Help - Search - Members - Calendar
Full Version: Bug or feature ? DELETE tries to delete whole file...
JDNET Forum > Programs > SourceCodeViewer for Directory Opus
cervicek
Hi,
I'm not sure if it's bug, but when I edit some file and press DELETE to remove selected text, the DOpus tries to delete whole textfile. Any workaround ?
And what about focus when I open SourceCodeViewer ? The focus is somewhere lost and I can't immediately edit the file, but must click to text to get focus at first....

I know SourceCodeViewer is mainly "viewer", but the editing feature is VERY VERY good for me.
Great job !

I appreciate any help...
Thanks
mrblobby
Hi,

Check that SetFocusAfterLoading is set to Yes in the config XML to get it to set the focus after loading a file.

Regarding the delete issue I have never seen this nor has anyone else reported this and SCV is used extensively for editing by many people. I recommend that you check that you are using the latest SciTE.
cervicek
Hi,
At first I changed
<General SetFocusAfterLoading="No" AllowEditing="Yes"/>
to
<General SetFocusAfterLoading="Yes" AllowEditing="Yes"/>
but it still doesn't have focus after opening. Maybe the problem is connected to ma other problem when I press DELETE. I replaced version 1.6.2.0 by 1.6.6.0 (latest) and DOpus still catches DELETE key for deleting file even when I have Viewer window active with visible blinking cursor. I tried to install everything on my laptop and it's exactly the same (no focus, delete whole file)... Of course, dopus was restarted. SourceCodeViewer 1.2.0.5 + DOpus 8.2.0.0
I noticed then internal DOpus viewer does have focus after opening viewer and when I press DELETE in this viewer DOpus tries delete whole file, but it's correct, because it's not editor but just viewer.
Any other ideas ?
Thank you very much...
cervicek
...and even when I choose Edit/Delete menu, it tries delete whole file. Only CTRL+X can delete selected text.
cervicek
I also noticed then when I want to search in a text and open dialog by CTRL+F and then want to paste text to search (CTRL+V) it inserts text to viewer instead of search dialog.. even when I click to dialog and give focus into textbox !
I tried to disable defined DELETE hotkey in customization menu of DOpus and viewer still want to delete whole file even when it's not possible to do it directly in DOpus anymore ! The same is for CTRL+V... it stopped to work in DOpus when I disabled it, but viewer still inserts text to edit window instead of search dialog..... very strange. I don't believe that it happes only to me....
mrblobby
Sounds like DOpus is eating all of the windows messages.

Try disabling all other plugins to see if that help.

Also what version of DOpus are you using and on what platform?
cervicek
I've tried it - not working. Version is DOpus 8.2.0.0 Unicode on WinXP. It doesn't matter now, because I removed this plugin and I use Scintilla editor directly as assigned program for opening all text files. Maybe sometimes when I reinstall windows it'll be working. Anyway, thanks for your help.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.