AngelsHolocaust 0 Report post Posted December 2, 2004 Ahoi! [*] modified RTL for CtrlBreakHandler to receive not only ctrlbreak [V] [*] W32 Smart Windows Box Close worked only for DPMI32 (Elfy) [NC] [+] W32 2k MouseWheel support: added evMouseWheel, mbWheelFwd/Bwd RESOURCES [-] Rus.Editor.Replace.ForAllCodepages was missing (Garl) [A] EDITOR [-] Switching from Editor to Viewer with non existant file showed invisible error msg (vfs_arcv.StdMsg.Desktop Lock) (Garl) [NOC] [-] loaded last line if empty with #32 (Elfy 062 [e]) [NC] [-] SmartBackIndent only worked correctly when a character was at cursor position, not with spaces etc. (Dandv) [A] [+] Option to select all text (Basil/2): Ctrl-K, A [*] Option 'Found Str = Block' and 'Scope: Selected Text' didn't work to- gether -> turned off when searching in block [A] (Basil/2) [-] W32 NT up/low/capcase line only with right ctrl/shift [A] (Elfy) [-] Alt-Shift-T unmarks persistent blocks [A] (garl) [-] after ctrl-shift-enter commandline wasn't cleared [A] -> Commandline^.Clear Str := '' [-] Search backward/forward and reverse highlighting didn't work correctly (Vadim) [NC] [+] Highlight corresponding brackets + Option to turn it off in NDN.HGL + using SearchBracketPair code: returns line, stringpos and stringlength + added line limit to EdSearchBracketPair (window height) + added new color to editor color setup: Editor.Highlight.Brackets [-] line changing keyboard movements did not update Workline [NC] [-] $ifdef... bracketpairs didn't work -> '$' not word [NC] [*] put the alt-left/right bracket pairs to the highlight file to add new BracketPairs (like: BEGIN;CASE END) [-] SmartTabs didn't work 100% [A] [+] show line numbers on left side: added ShowLineNumber_Len and Setup Option [-] Undo Enable/Disable StatusLine problems [NC] [+] count words/characters (Alt-F1): count from Selection or whole file CLIPBOARD [*] LNX winclp.__SetWinClip always added CRLF -> LF DNEXEC/EXTERNAL VIEWER/EDITOR DNEXEC.EXECUTEFILEEXT/LOCAL_GLOBAL_MENUS [+] Ctrl+Break to return to NDN after launching Windows applications (Dandv) added dnexec.bExecuting FILE PANEL [-] copying files from archives crash (Basil/2) [NC] -> TInfoView.Draw.dtArc-Code: IF ... and PF <> nil [*] improved TInfoView.Draw code (new bugs?) [-] FileAttributes on multiple files didn't work (Dandv) [A] SYNTAX HIGHLIGHT: [+] added BracketPairs to highlight file, new generalflag hoBracketPairs http://ndn.muxe.com/archives/_d32.rar http://ndn.muxe.com/archives/_w32.rar http://ndn.muxe.com/archives/_lnx.rar have fun Stefan / AH Share this post Link to post Share on other sites
Garl 0 Report post Posted December 3, 2004 SYNTAX HIGHLIGHT: [+] added BracketPairs to highlight file, new generalflag hoBracketPairs How diaseble BracketPairs highlight in editor? option in setup or ini-files? Share this post Link to post Share on other sites
AngelsHolocaust 0 Report post Posted December 3, 2004 hi! it can only be disabled in the HGL file (like numbers and strings) [+] Highlight corresponding brackets + Option to turn it off in NDN.HGL NDN.HGL GENERALFLAGS Num - bitfield: 1 - Case Sensitive ... 512 - No BracketPair Highliting Stefan / AH Share this post Link to post Share on other sites
Garl 0 Report post Posted December 3, 2004 ok ! add to russian help file!!! ps maybe disabled it to default? 512 - Enable BracketPair Highliting what are you say? Have fun!? Share this post Link to post Share on other sites
AngelsHolocaust 0 Report post Posted December 3, 2004 hi! i have thought about it when i implemented it and enabling it by default was the best solution numbers and strings are enabled by default too Stefan / AH Share this post Link to post Share on other sites
Basil/2 0 Report post Posted December 6, 2004 (all with WIN32 version on Windows 2000 Rus SP4) 1. Large thanks for "Ctrl-K,A" feature!! Continuing this course, DN is already works with Ctrl-C, Ctrl-V and Ctrl-X; what about pure Ctrl-A? (may be optional; I know Ctrl-A now works as Ctrl-Left) Windows editors hotkeys (Word, Visual C++ editor, C++ Builder editor) look pretty good; may be NDN should have 2 keysets? (old(DOS) and win) 2. "Selected replace" is unfortunatelly still incorrect; it IGNORES "selected text" option and replaces through whole text. 3. Archives bug fixed, good. 4. In text-mode, your new MouseWheel feature looks impressive! I thing, you should slightly upgrade it. The point is that Windows DO NOT USE wheel for SELECTING, it USE it for SCROLLING. (Windows Explorer, for example). So I guess wheel should not move cursor through files but scroll files in panel, keeping current selection. Why so? If I see the file I needed in panel, I can point it by mouse cursor (without wheel). And if the file I needed is out of panel, I need a scrolling - I need a wheel! In Explorer (not IE - just Explorer), one wheel "click" scrolls the whole page. In IE, it scrolls several lines (3..5). In NDN, I suppose, wheel should act as PgUp/PgDn. It makes wheel support less impressive but more useful. I think so but I can be wrong, certainly. Share this post Link to post Share on other sites
AngelsHolocaust 0 Report post Posted December 6, 2004 hi! 1. maybe there should be an option like [ ] wordstar hotkeys because the CTRL-X/Y/Z/C/V/A/S/D/E/F/R/W are all used for cursor movement and, as you see, almost all of these keys have different meaning in modern editors 2. i cannot agree, it works fine here maybe some options problem? send me the options you have in your INI file under EDITOR DEFAULTS 3. i planned to add CTRL to mousewheel to scroll pages not just cursor movement (it is sad that it only works for the W2K+ platforms) Stefan / AH Share this post Link to post Share on other sites
AngelsHolocaust 0 Report post Posted December 6, 2004 hi again! correcting myself -> 1. this is not as easy as it sounds, because: a LARGE amount of NDN hotkeys in editor are in fact WORSTAR hotkeys, if i make an option to en/disable WORSTAR then i need to make it right: disabling ALL or NONE of the WS keys to make it short, use this page to look at the wordstar commands: http://www.wordstar.org/wordstar/tutorial/tutorial.htm Stefan / AH Share this post Link to post Share on other sites
Basil/2 0 Report post Posted December 6, 2004 1. I think it's better to keep WordStar by default but add "Windows hotkeys [ ]" option, which gives NDN Windows editor's behaviour. However, it's a very large topic to discuss. For example, should Ctrl-Y works as "Redo" or as "Delete line"? Now I have not a solution for this: I want a very mixed keyset in NDN editor, and I can't imagine how to realize it. It's cheaper for me to use Ctrl-K,A instead of just Ctrl-A than to create special keyset. :) 2. [Editor Defaults] Options=-104892374 OptionsE=53 FastSearchDeep=0 CPOptions=1 LMargin=0 RMargin=78 Paragraph=5 TabSize=4 NewLine=0 AutoBrackets=()[]{}<>""'' Example text: ----- 1. 222 2. 333 3. 222 4. 333 5. 222 ------ I select strings 2 and 3; opens "Replace" dialog by Ctrl-F7; search text is "333"; all checkboxes are CLEAR, press "Change all". Result: both 2 and 4 strings are changed. If you could not reproduce this bug, I can post a small screen video when I doing that. ;) 3. Ctrl+Wheel? Sorry, I think this ruin wheel feature because wheel means no keyboard, I suppose. Probably, as usual optional: ( ) move ( ) scroll ( ) pagescroll as example. Share this post Link to post Share on other sites
AngelsHolocaust 0 Report post Posted December 6, 2004 hi! 2. still cannot produce that bug everything works as it should are you sure you have selected SELECTED TEXT as SCOPE? Stefan / AH Share this post Link to post Share on other sites
Basil/2 0 Report post Posted December 7, 2004 Just see an example (177K animated gif): starostin.msk.ru/download/NDN/NDN_ReplaceBug.gif I think, we can do the following: 1. You pack your NDN directory and put it there. 2. I download and unpack your NDN. 3. I try to reproduce bug. I suppose, it gives us the reason (application or OS). Share this post Link to post Share on other sites
AngelsHolocaust 0 Report post Posted December 7, 2004 hi! thanks for the gif it is the ORIGIN option if it is ENTIRE SCOPE then SELECTED TEXT seems to be ignored maybe you can try around with the options next time you find a bug to save me a lot of work ? :) thanks Stefan / AH Share this post Link to post Share on other sites
Basil/2 0 Report post Posted December 8, 2004 it is the ORIGIN option if it is ENTIRE SCOPE then SELECTED TEXT seems to be ignored maybe you can try around with the options next time you find a bug to save me a lot of work ? :) Certainly!, I do need this to work correctly. "Scope" option helps, but not always. NDN demonstrates a very strange behaviour, see example 2: starostin.msk.ru/download/NDN/NDN_replace_bug2.gif P.S. Stefan, which editor do you use to edit NDN and other sources? Share this post Link to post Share on other sites
AngelsHolocaust 0 Report post Posted December 9, 2004 hi! i have fixed the problem with the "SCOPE" (it was only indirectly connected to the scope option) the other problem seems that incomplete marked starting lines are not correctly handled i will fix this at home! what a question; i use NDN to work on all my projects (including NDN) of course :) Stefan / AH Share this post Link to post Share on other sites