Zap's menus
Rick Murray (539) 13840 posts |
I would like some feedback on Zap’s menus. It has bugged me for a long time that the settings for the wrap mode is listed under Edit rather than Display. I think that most of the contents of the Edit menu should be moved to the Display menu. I’m not sure about “Tab mode” though. Should that be placed alongside Tabs? I ask because it is more a file format configuration than a display configuration. Search, Replace, and Goto should probably be moved to a new Edit menu rather than being stuck at the bottom of the File menu. This is consistent with StrongEd and Edit; and the only reason I don’t think the current layout is highly weird (it IS!) is because I always access these functions using the Fkeys. Delete (many options), Alter, and Clipboard should probably be moved to this Edit menu rather than being stuck in Misc as it is currently. How does Search (as a menu) differ from Search (the F4) version? Should this be in Edit as well? [resolved: skip to non-italicised part] |
||||||||
Clive Semmens (2335) 3276 posts |
It wouldn’t upset this body, anyway. Good idea! (thrice) |
||||||||
Steve Pampling (1551) 8170 posts |
There you go, you were destined to turn away from the dark side :)
Ever used “vi”? Or the core of evil as it’s better known.
Well, let’s look at the standard “Save” for guidance and that is F3 in RO so if you want a Save & Compile it’s going to be something like Shift-F3 or Alt-F3
Well what you saw versus what should have been displayed is a bug, however not having Save and similar on F3 or variants isn’t standard.
Any proposals to make the menus less quirky is “a good idea” |
||||||||
Rick Murray (539) 13840 posts |
It’s not that. It’s that for the first time I’m writing my Eurovision stuff in Zap while the contest is on (now that I don’t need the PC in order to watch composite video) and I want to word wrap to the window size, and I’m getting a bit sick of remembering that the menu option isn’t where it ought to be.
Unfortunately that horrid pile of confusion is the editor of choice in lightweight builds of BusyBox (etc). My PVR has it, my IPCam has it, and my ebook has it. I still have to keep Googling how to use the damn thing, in the end I tend to use FTP to push files, edit them in Zap, and pull the updates back…
I disagree. Strongly. For two reasons. The first is that saving the file is a side effect. The intended operation here is to Compile. The save part is merely flushing the file to disc so the latest version of the source is used – which is logical. The second reason is that invoking a compile has potential side effects on the entire project (plus activity and backtrace windows opening), so with that in mind I think it would be best to keep “compile” as a logically separate activity to saving.
By that sentence alone I can tell you’ve still not tried Zap. ;-) Some things are just expected. F3 for save, F4 for find… So that’s currently two plus me in favour of rejigging the menus. |
||||||||
Tristan M. (2946) 1039 posts |
Change the menu location if you want. I think it’s weird too. So, what is this about the tab menu? Just a relocation? Or a modification that doesn’t require a Ouija board to predict which changes to tab style stuck? |
||||||||
Steve Pampling (1551) 8170 posts |
Oh, so the option should be labeled “Compile after Save” then? No, you’re definitely asking it to Save the source and then Run the compiler on that source.
You’re still fixing the broken bits and I think you’ll be a fair while. 1 Apparently some people have never seen this, some people also win the lottery. 2 Introducing style behaviour from a foreign and non-gui system is perverse and at odds with the rest of RO and applications. |
||||||||
Steve Pampling (1551) 8170 posts |
Of course there’s plenty of non-standard (and rather disturbing) “differences” in StrongED. Regular users of editors elsewhere expect the End key to take you to the end of the line and Ctrl-End takes you further – the end of the document. While StrongED does the same as Edit where End takes you to the end of the document and Ctrl-End deletes the whole of the current line (eek, excuse me but deleting is the kind of thing I expect from the *Delete" key1) 1 Yes, yes, perfectly aware of the history with PC delete key vs. old style Acorn labelling, but short of rummaging up a refurbished antique you can’t buy a machine with those old key markings and even my old, old RPC, made with an Acorn badge, has the key clearly labelled “Delete” |
||||||||
Steve Fryatt (216) 2105 posts |
What the heck is Ctrl-Y supposed to do? Selection→Alter→Yank I’m fairly sure that Ctrl-E and Ctrl-Y (Keep and Yank) are Emacs-isms. Early Dominic Symes-era Zap was fairly heavily influenced by Emacs, IIRC, and I suspect that at the time Emacs’ Ctrl-E and Ctrl-Y weren’t too illogical for working alongside the at-the-time Edit-standard Ctrl-C and Ctrl-V. Personally, I’d prefer these not to change, as I’ve got used to them over the years. That said, Zap’s whole keymap is configurable – if Compile not being an F3 key is really an issue for people, we could always have two keymaps: a new one, and a legacy one… However, I see that F3, Shift-F3 and Ctrl-F3 already do save things (Save, Save Selection, Quick Save), so you’re only left with Shift-Ctrl-F3. All Shift-Ctrl-Fx keypresses switch modes in Zap, and always have done; changing that might cause a riot. |
||||||||
Steve Fryatt (216) 2105 posts |
Thanks for the updates, Rick – as a long-term Zap user, they are really appreciated…
Me too. Moving it wouldn’t upset me, as I almost always go to Display first even now.
Tab Mode is an editing option of sorts…
Agreed… and as you say, I just use F4 and F7… What about Search, which has its own top-level menu? Maybe this should be Interactive Search from the Edit menu?
Yes, definitely.
Options. F7 is the menu entry, and opens the dialogue with To Window ticked; F4 opens with it unticked. Maybe the current option should be Search to Window F7 in the menu, and there should also be Search F4 directly above it? I think the problem with Zap is that it grew somewhat organically, without anyone really overseeing the whole thing. :-) |
||||||||
Steve Pampling (1551) 8170 posts |
Sounds like the thoughts I was having about the keymap in StrongED, default to something that matches as much of the rest of the world as possible and have an option for people to load in the legacy behaviour. As you say, Zap probably grew organically and without a coherent design, You can say the same about StrongED. |
||||||||
Rick Murray (539) 13840 posts |
Certainly. It is stated in the most efficient manner. Save then compile. A logical action described in three words. Compile after saving is also three words, but it is back to front. Illogical. That said, Compile is the pertinant action, which is why it is Sh-Ctrl-C. Maybe the entry should read “Compile (after saving)” to provide clarity (that it will save) but concentrate on what’s important (compilation).
If it helps me at all, Find would be ^F, Save would be ^S, and so on. Like every other editor on the planet that was written in the days of GUI (hence discounting oddities in the modern world such as vi, emacs, WordStar, etc). It will remain Sh-Ctrl-C partly because programmers using Zap probably have that filed under “muscle memory”, but also because all of the functions keys are already assigned purposes (as other-Steve says, changing that might cause a riot (all five of us that still use Zap ;-) )). I’ve dropped the DrawFile here: http://heyrick.ddns.net/files/keystrip.aff
There’s a ridiculously long “buglist” that I’m not even going to look at. Doubly so as I’ve come across two lists of bugs, referring to different versions of Zap, neither of which is the one I’m working with. That’s what I like, documentation that matches up… <sigh>
Weirdness is inevitable. But then, you don’t use RISC OS at work but you use it at home. Don’t you find one “weird” compared to the other? While everybody uses a windowing environment these days, the rest of the world started to converge on a “feels like Windows” metaphor (hell, Linux “the brown one” even had a skin that looked like Windows) while some are now trying to grapple with making Desktop and tablet UIs “alike”, which to my mind is about as useful as trying to mix paints to come up with a reddish shade of green. RISC OS, meanwhile, mostly ignored all of this and kept calm and carried on. ;-) In other words, “weird” is relative. Zap’s menu layout, however, passes as “weird” even to the mind of a person that is frequently called “weird”, which means…. :-)
Ctrl-Del in Zap.
Zap’s redefinable. Sh-Ctrl-F10 will switch to an Emacs keymap. Can StrongEd do that? If so, this is mostly a non-problem (just load (or create) a mapping you like).
Well, as an aside that has no relevance to anything else… things I wish Zap could do (maybe it can?) that I still use Edit for:
|
||||||||
Steve Pampling (1551) 8170 posts |
I’ve now actually lost track of the number of times I’ve explained to someone else how useful right-click on the scrollbar is in RO. It’s years since I lost count of simply thinking it when I was scrolling around. |
||||||||
nemo (145) 2546 posts |
Some time ago Rick asked
I’ve absolutely no memory of what a standard Zap menu definition looks like, I changed mine a loooooong time ago. My top level is
Rick, does your version of Zap use DeepKeys and the configurable tabstops I wrote? The former was standard but I don’t know whether the latter ever shipped. I’m pretty sure Darren built it in at some point. BTW I wrote an Elastic Tabstops utility this week. I toyed with the idea of building E.T. into Zap, but decided the configurable version was a sensible compromise (which could be expanded later). |
||||||||
Rick Murray (539) 13840 posts |
Care to share the menu definition file? The menu topics look good, and it would be silly to do the same job twice, don’t you think?
Yes, I think DeepKeys is a part of it. Let me check the distro… yup, it’s placed into BootResources:PreDesk. No idea about the configurable tabstops. Is it an extension module? Part of the build? I have a Column Tab option with a configurable width (all implemented directly in Zap). Is that it? |
||||||||
nemo (145) 2546 posts |
The configurable tabs build allows you to specify a different width for every column if you so wish, using a simple format string: (× is actually * but Textile went a bit wrong)
etc. I can dig it out again if it’s been lost. |
||||||||
Rick Murray (539) 13840 posts |
I’ve had a play around rearranging things. http://heyrick.ddns.net/files/zapmenutest.zip It contains a single text file, called “UK”. Open Copy the new Restart Zap. |
||||||||
nemo (145) 2546 posts |
| Number of valid menu handles | (handles 0-19 have special meaning but 20+ are user definable) | NB If you don't want the extension module to be loaded until the command | is executed then use 'COMMAND "..."'. 59 | Zap iconbar menu (0) 00 "Zap" 7 "Info " HELP "Z" > INFOBOX * "\Sread Zap's manual. \Rsee information about Zap." "Create " > 52 * "\Rcreate a new file." "Files " > 51 * "\Rperform various operations on the currently-loaded files." "Options" > 50 * "\Rconfigure Zap." "Quit " QUIT | Zap window menu (1) 01 "Zap" 13 "File... " SAVE > 22 * "\Ssave with the current filename. \Rperform various operations on this file." "Edit " > 05 * "\Rdisplay operations that can be performed on the selected text." "Style " > 24 * "\Rchange various editing options." "View... " NEWVIEW > 25 * "\Rchange various display options." "Utils " > 26 * "\Raccess various miscellaneous operations." - "Mode " > MODELIST * "\Rchange mode, or set options for the current mode." | File type list menu (2) (also used by menu click on save box) 02 "File type" 11 "&FFF Text " NEWTYPE &FFF "&FFD Data " NEWTYPE &FFD - "&FFB BASIC " NEWTYPE &FFB "&AA5 TskBASIC" NEWTYPE &AA5 "&FF5 PoScript" NEWTYPE &FF5 "&AE5 Python " NEWTYPE &AE5 "&F81 JSScript" NEWTYPE &F81 - "&FEB Obey " NEWTYPE &FEB "&FD7 TaskObey" NEWTYPE &FD7 - "&FAF HTML " NEWTYPE &FAF "&F80 XML " NEWTYPE &F80 "&F79 CSS " NEWTYPE &F79 "Other " > TYPELIST * "\Ruse a filetype not specified here." | Mode menu (3) (obsolete) | Main font menu 04 "Font" 17 "Bitmap (scaled) " FONTTYPE 1 > BITMAPLIST "Bitmap (at 1dpp) " FONTTYPE 0 > BITMAPLIST "Bitmap (at 2dpp) " FONTTYPE 5 > BITMAPLIST - "Anti-aliased VDU " FONTTYPE 4 > FONTLIST "Anti-aliased DSA " FONTTYPE 3 > FONTLIST "Anti-aliased size" FONTLIST > FONTSIZE "Aspect ratio x100" FONTLIST > FONTASPECT - "System font " FONTTYPE 2 | Selection menu 05 "Edit" 20 "Undo " FULLUNDO > 58 "Redo " REDO - "Cut to clipboard " CUT "Copy to cursor " COPYSEL "Move to cursor " MOVESEL "Select all " SELECTBUFFER "Clear " CLEARSEL - "Copy to clipboard " KEEPREGION "Paste from clipboard" PASTE "Clear clipboard " CLEARGC "Previous cut " YANK - "Process " SELANYWHERE > 29 * "\Rperform various operations on the current selection." "Send to keyboard " SENDSEL "X" "Word count " WCSEL > WCSEL "Total " TOTALSEL > TOTALSEL | For the mode menus, titles are irrelevant | Byte mode menu 11 "" 14 "Group bytes " BYTE_FLAGSTOGGLE 9 "Group ASCII " BYTE_FLAGSTOGGLE 10 "Group size " CLONEBASE "Byte" > BYTE_GROUPSIZE * "\Rset the number of bytes to a group." "Suppress ctrls" BYTE_FLAGSTOGGLE 8 > BYTE_CONTROLREPLACE "Binary bytes " BYTE_FLAGSTOGGLE 11 | Word mode menu 12 "" 14 "Group words " WORD_FLAGSTOGGLE 9 "Group ASCII " WORD_FLAGSTOGGLE 10 "Group size " CLONEBASE "Word" > WORD_GROUPSIZE * "\Rset the number of words to a group." "Suppress ctrls" WORD_FLAGSTOGGLE 8 > WORD_CONTROLREPLACE "Binary words " WORD_FLAGSTOGGLE 11 | Code mode menu 14 "" 14 "Disassembler " CLONEBASE "Code" > 28 * "\Rset disassembly options." "Unconditional " CODE_FLAGSTOGGLE 31 "Minimal " CODE_FLAGSTOGGLE 30 "Comment free " CODE_FLAGSTOGGLE 29 "Binary opcodes" CODE_FLAGSTOGGLE 28 "Condition back" CODE_FLAGSTOGGLE 253 | Main sub-menus 22 "File" 16 "Save... " QUICKSAVE > SAVE "Save selection " SAVESEL > SAVESEL "Print... " QUICKPRINT > 27 * "\Sopen the quick print window. \Raccess other printing methods." - "Word count " WC > WC "Undo enabled " TOGGLEUNDO "Read only " READONLY "DOS text file " FFLAGS_TOGGLE &DD1B "Spool file " FFLAGS_TOGGLE &DB1D 24 "Style" 12 "Tab mode " > 30 * "\Rset the tab editing mode." "Type of wrap" > 31 * "\Rset various text wrapping options." "Cursors " > 32 * "\Rset various cursor options." "Base map " > BASEMAPLIST * "\Ralter the current base keymap." "Options " > 33 * "\Raccess various editing features." - "Overwrite " TOGGLEINSERT 25 "View" 13 "New view... " NEWVIEW "Line numbers " WFORMAT_TOGGLE 8 > 34 * "\Rset the line number style." "Tabs " > 35 * "\Rset the tabbing display style." "Line spacing " > LINESPACING * "\Rset the line spacing." "Font " > 04 * "\Rset the font." "Colours " > COLOURLIST * "\Ralter the colours used in this window." "Width " SETWIDTH > 57 "Misc " > 36 * "\Raccess various display features." 26 "Utils" 9 "Find... " REPLACE > REPLACE "Goto... " GOTO > GOTO - "Insert" > 37 * "\Raccess various insertion operations." "Delete" > 38 * "\Raccess various deletion operations." "Alter" > 39 * "\Raccess various general editing operations." "Move" > 40 * "\Raccess various esoteric operations rather misleadingly labelled 'Move'." "Learn" > 41 * "\Rset and execute learned sequences of commands." "Window" > 42 * "\Rperform operations on the current window." "Search" > 43 * "\Rperform various search operations." "Program" > 44 * "\Raccess various program development functions." "Command" > 45 * "\Raccess various direct command functions." "Marking" > 46 * "\Raccess Zap's marker facilities." "Spell" > 47 * "\Raccess spell-checking facilities." - "Save options" COMMAND (MAKEDEFAULT:SAVEOPTIONS) * "\Smake this window's options the default for this mode, and save the current defaults." "All modes " ALLMODES (MAKEDEFAULT) * "\Sset all modes' default options from this window." | File menu sub-menus 27 "Print" 14 "Quick " QUICKPRINT > QUICKPRINT "Fancy " PRINTFILE "Open " OPENPRINTER "Close " CLOSEPRINTER "Dump " DUMPFILE | Mode menu sub-menus 28 "Disassembler" 10 "Global " CODE_FLAGSTOGGLE 254 * "\Stoggle whether options here apply to the debugger globally, rather than just in this window." - "FD if R13 " CODE_FLAGSTOGGLE 8 * "\Stoggle using stack notation for R13 STM/LDM." "APCS names" CODE_FLAGSTOGGLE 9 * "\Stoggle using APCS register names." "LFM stack " CODE_FLAGSTOGGLE 10 * "\Stoggle using stack notation with LFM/STM where possible." "LFS & SFS " CODE_FLAGSTOGGLE 11 * "\Stoggle using LFS/SFS in preference to LFM/SFM." "Quote SWIs" CODE_FLAGSTOGGLE 12 * "\Stoggle whether SWI names will be enclosed in quotes." "DCD " CODE_FLAGSTOGGLE 13 * "\Stoggle using DCD instead of 'Undefined instruction', and enable BRK." "VDU " CODE_FLAGSTOGGLE 14 * "\Stoggle using VDU x instead of SWI OS_WriteI+x." "More DCDs " CODE_FLAGSTOGGLE 15 * "\Stoggle using DCD instead of ANDEQ, MOV Rn,Rn etc." "ADRL " CODE_FLAGSTOGGLE 16 * "\Stoggle using ADRL/ADRX instead of ADR then ADD/SUB on same register." "ADRW " CODE_FLAGSTOGGLE 17 * "\Stoggle using ADRW, LDR[B]W, STR[B]W when accessing R12." "Long MULs " CODE_FLAGSTOGGLE 18 * "\Stoggle appending L to UMUL etc., thus using the official forms." "LDRL " CODE_FLAGSTOGGLE 19 * "\Stoggle using LDRL for two instruction register loads." "NOP " CODE_FLAGSTOGGLE 20 * "\Stoggle using NOP instead of MOV R0,R0." "Old PSR " CODE_FLAGSTOGGLE 21 * "\Stoggle using the old PSR suffices _ctl, _flg, _all." "Wide " CODE_FLAGSTOGGLE 22 * "\Stoggle disassembling for wide display." "HS and LO " CODE_FLAGSTOGGLE 23 * "\Stoggle using HS/LO instead of CS/CC." "Shift " CODE_FLAGSTOGGLE 24 * "\Stoggle using x<<y comments where possible." "'r#' " CODE_FLAGSTOGGLE 25 * "\Stoggle forcing all register names to lower case." | Selection menu sub-menu 29 "Process" 15 "Indent " INDENT > INDENTBY "Outdent " OUTDENT "Sort " COMMAND(FILTERSEL "ZF:Sort") > 49 * "\Ssort the selection." "Unique " COMMAND(FILTERSEL "ZF:DeDupe") * "\Sremove duplicated lines." "Format " COMMAND(FILTERSEL "ZF:Format") * "\Sformat the selection." "Swap case " COMMAND(SWAPCASE) > 48 * "\Sswap the case of the selection." "Swap CR<>LF " COMMAND(FILTERSEL "ZF:SwapCRLF") @ "\Sswap line end characters.|MThis is useful when copying to and from BASIC programs" | Edit menu sub-menus 30 "Tab mode" 15 "Unix tabs " TABMODE 0 "As above " TABMODE 1 "Column tab " TABMODE 2 > COLUMNTAB - "As spaces " TABSASSPACES - "Toggle " SWITCHTAB 31 "Wrap" 17 "Window wrap " WINDOWWRAP "Soft wrap " SOFTWRAP "Word wrap " WORDWRAP > WRAPWIDTH "Line wrap " LINEWRAP > WRAPWIDTH "Infinite wrap " INFINITEWRAP "Auto soft wrap " AUTOSOFTWRAP "Strong soft wrap" WINFO_ALTER 9 32 "Cursors" 12 "Line select" LINESELECT "Smart " WFORMAT_ALTER 25 "Confine H " CONFINEHORIZONTALLY "Confine V " CONFINEVERTICALLY "Free click " FREECLICK 33 "Options" 20 "Auto indent " AUTOINDENT "Strip spaces on save" WFORMAT_ALTER 18 * "\Sset stripping extra spaces on save." "Block editing " WINFO_ALTER 10 * "\Sset block editing." "Hex entry " HEXASCII "Line edit " LINEEDIT "Non standard " NONSTANDARD "Spell checking " ASYOUTYPE > 47 | Display menu sub-menus 34 "Line nos" 13 "None " LINENOS 0 "Logical " LINENOS 1 "Physical " LINENOS 2 "Address " LINENOS 3 - "Hex nos " TOGGLEHEX - "Margin width" SETMARGINWIDTH > SETMARGINWIDTH "Colon " COLONSEPARATOR - "Start line" > STARTLINE "Start addr" > STARTADDR 35 "Tabs" 12 "None " TABDISPLAY 0 "Spaces " TABDISPLAY 1 "> " TABDISPLAY 2 "-----> " TABDISPLAY 3 - "Tab char" > TABCHAR 36 "Misc" 14 "Return char" > 56 * "\Rset the return character." "Margin" > MARGIN * "\Rset the margin width." "Auto width " WFLAGS_ALTER 6 * "\Stoggle calculating the display width automatically." "Big endian " WFORMAT_TOGGLE 17 * "\Stoggle treating the file as big endian." | Misc menu sub-menus 37 "Insert" 15 "Date " INSERTDATE "Time " INSERTTIME "Split line " SPLITLINE "Insert a file " INSERTFILE 38 "Delete" 22 "Delete word " DELETE "WORD" "Del to word start " DELWORDSTART "Del to word end " DELWORDEND "Delete line " DELLINE "Del to line start " DELTOSTART "Del to line end " DELTOEND "Delete file " DELETE "FILE" "Del to file start " DELETE "FILESTART" "Del to file end " DELETE "FILEEND" "Join line " JOINLINE 39 "Alter" 17 "Swap CR<>LF " SWAPCRLF "Format text " FORMATTEXT "Swap chars " SWAPCHARS "Copy mode " COPY "Strip spaces " STRIPSPACES 3 "Tabify " STRIPSPACES 4 "Untabify " UNTABIFY 40 "Move" 17 "Indirect " INDIRECT "Swap window " SWAPWINDOW "Navigation box " MOVEBOX "Last sector " LASTSECTOR "Next sector " NEXTSECTOR "Last cylinder " LASTCYLINDER "Next cylinder " NEXTCYLINDER "Last track " LASTTRACK "Next track " NEXTTRACK 41 "Learn" 12 "Learn " LEARN "Execute " EXECUTE 42 "Window" 17 "Close window " CLOSEWINDOW "Close other " CLOSEOTHER "Toggle size " TOGGLEWIND "Close all " CLOSEALL 43 "Search" 15 "Search... " SEARCHBUF > SEARCHBUF "Forward " SEARCHFORWARD "Backward " SEARCHBACK "Last match " LASTMATCH "Next match " NEXTMATCH "Cancel " CANCEL 44 "Program" 22 "Compile (& save) " COMPILE "List of functions " LISTFNS 45 "Key maps" 14 "Command " COMMAND > COMMAND "Bind " BINDTOKEY 46 "Marking" 17 "Toggle mark " TOGGLEMARK "Last mark " LASTMARK "Next mark " NEXTMARK "Select " SELREGION "Select buffer " SELECTBUFFER 47 "Spell" 14 "Dictionary..." SPELL "Replace " SPELL_REPLACE "Check buffer " IMPRESSIONSPELL_BUF "As you type " ASYOUTYPE 48 "Swap case" 10 "UPPER case" COMMAND(UPPERCASE) * "\Schange the selection to lower case." "lower case" COMMAND(LOWERCASE) * "\Schange the selection to lower case." 49 "Sort" 30 "Ascending " COMMAND(FILTERSEL "ZF:Sort") "Ascending, case insensitive " COMMAND(FILTERSEL "ZF:Sort -nc") "Descending " COMMAND(FILTERSEL "ZF:Sort -d") "Descending, insensitive " COMMAND(FILTERSEL "ZF:Sort -nc -d") - "Ascending length " COMMAND(FILTERSEL "ZF:SortLen") "Ascending length, insensitive " COMMAND(FILTERSEL "ZF:SortLen -nc") "Descending length " COMMAND(FILTERSEL "ZF:SortLen -d") "Descending length, insensitive" COMMAND(FILTERSEL "ZF:SortLen -d -nc") | Icon bar sub-menus 50 "Options" 15 "Save options " SAVEOPTIONS - "Misc " > 53 * "\Rset various miscellaneous optioins." "Mode " > MODELIST * "\Rchange which mode this menu configures." "Clone modes... " CLONEBOX > CLONEBOX "Edit " > 24 * "\Rchange various editing options." "Display " > 25 * "\Rchange various display options." "Mini buffer " > MINIMENU * "\Rconfigure the minibuffer." "Cursor types " > CURSORMENU * "\Rconfigure Zap's cursors." - "Edit config " WIMPTASK "Filer_OpenDir ZapUser:Config" > 54 * "\Sopen the configuration directory. \Ropen individual configuration files." "Reload config " RELOADKEYS * "\Sreload the current configuration. You will need to recreate it if you have changed anything." "Create config " WIMPTASK "Run ZapCode:Config.CreateConf -script ZapCode:Config.RunScript" * "\Srecreate the current configuration. You will then need to reload it for the changes to take effect." 51 "Files" 14 "To front " TOFRONTLIST > TOFRONTLIST "Save " SAVELIST > SAVELIST "New view " NEWVIEWLIST > NEWVIEWLIST "Remove " REMOVELIST > REMOVELIST "Close " CLOSELIST > CLOSELIST - "Save all " SaveAll "Close " CloseAll "Discard " DiscardAll - "Save & close " SaveAndCloseAll "Save & discard" SaveAndDiscardAll 52 "Create" 17 "New file" > 02 * "\Rcreate a new file." "Get module" > GETMODULE * "\Rgrab a module from memory." "Get workspace" > GETWORKSPACE * "\Rgrab a module's workspace from memory." "Read memory... " MZAPBOX > MZAPBOX * "\Rgrab data from memory." "Read disc... " DZAPBOX > DZAPBOX * "\Rgrab data from a disc." "Task window " COMMAND (TASKWINDOW) * "\Sopen a new taskwindow." "Get dynamic area" GETDYNAMICAREA > GETDYNAMICAREA * "\Rgrab a dynamic area." 53 "Misc" 17 "Autoload " > 55 * "\Rset which extensions to load automatically when needed." "Auto-del files " MISCOPS 0 * "\Stoggle whether a file is deleted from memory when you close its last window." "Auto-clr regions " MISCOPS 1 * "\Stoggle whether the selection is automatically cleared as you type." "Undo supported " TOGGLEUNDO * "\Stoggle undo for ALL files." "Flashing cursor " MISCOPS 3 * "\Stoggle the flashing cursor." "Check datestamp " MISCOPS 4 * "\Stoggle checking the datestamp of a file before saving it." "Auto-clr search " MISCOPS 5 * "\Stoggle clearing the search window when it is opened." "Confine cursor " MISCOPS 6 * "\Stoggle confining the cursor the the visible area of the window." "Trap MSDOS files " MISCOPS 7 * "\Stoggle detecting MSDOS and Spool files." "Be tolerANT " MISCOPS 13 * "\Stoggle tolerating broken Wimp messages." "Silent operation " MISCOPS 14 * "\Stoggle silent operation (no beeps)." "No anti-aliasing " MISCOPS 15 * "\Stoggle anti-aliasing of fonts." "Remove H scroll " MISCOPS 18 * "\Stoggle removing the horizontal scrollbar if it isn't needed." "Force startup command" MISCOPS 19 * "\Stoggle forcing the startup command to be executed, even when files are being loaded as Zap starts." 54 "Configure" 13 "Keys " FINDFILE "<Zap$Keys>" * "\Sopen Zap's key binding configuration file." "Menus " FINDFILE "<Zap$Menus>" * "\Sopen Zap's menu configuration file." "Settings " FINDFILE "<Zap$Settings>" * "\Sopen Zap's miscellaneous settings file." "Types (high)" FINDFILE "ZapUser:Config.TypesHigh" * "\Sopen Zap's filetype configuration file (overrides)." "Types (low) " FINDFILE "ZapUser:Config.TypesLow" * "\Sopen Zap's filetype configuration file." "Templates " WIMPTASK "Filer_Run <Zap$Templates>" * "\Sopen Zap's window template file." "Modules " WIMPTASK "Filer_OpenDir <Zap$Dir>.Modules" * "\Sopen Zap's modules directory, allowing you to directly configure Zap's plugin extensions." 55 "Autoload" 13 "FlashCar " MISCOPS 8 * "\Stoggle whether FlashCar (which flashes the cursor in dialogue boxes) is loaded with Zap." "LineEditor " MISCOPS 9 * "\Stoggle whether the LineEditor is loaded as needed. LineEditor makes working with task windows much less painful." "Disassembler" MISCOPS 10 * "\Stoggle whether the extended disassembler is loaded as needed." "ExtBASICasm " MISCOPS 11 * "\Stoggle whether the extended assembler is loaded as needed." "HidePointer " MISCOPS 12 * "\Stoggle whether HidePointer (which hides the mouse pointer while you type) is loaded with Zap." "IconClear " MISCOPS 16 * "\Stoggle whether IconClear (which allows you to delete an icon's text using the mouse) is loaded with Zap." "KeyExtend " MISCOPS 17 * "\Stoggle whether KeyboardExtend is loaded with Zap. KeyboardExtend tries to stop Zap from confusing certain keystrokes." 56 "Return" 8 "LF (10)" RETURNCHAR 10 "CR (13)" RETURNCHAR 13 "Null " RETURNCHAR 0 "None " RETURNCHAR -1 - "Other " > RETURNCHAR 57 "Width" 5 "32" SETWIDTH "32" "40" SETWIDTH "40" "77" SETWIDTH "77" "80" SETWIDTH "80" "105" SETWIDTH "105" "135" SETWIDTH "135" "160" SETWIDTH "160" "255" SETWIDTH "255" "1024" SETWIDTH "1024" - "Other" SETWIDTH > SETWIDTH 58 "Undo" 4 "Fast" FASTUNDO |
||||||||
Matthew Phillips (473) 721 posts |
Ctrl-F6 does that to a single paragraph. I use Ctrl-Y (yank) quite a lot. It pastes back text cut with Ctrl-K. Those are copied from emacs, as is Ctrl-S for the search. As long as there’s an easy option to retain the previous behaviour I can live with the default being changed. |
||||||||
Rick Murray (539) 13840 posts |
Bug 454 was marked as “Won’t fix” because there’s a UTF-8 sequence to do the same thing, described in the Style Guide. Does anybody actually use their machine in UTF-8? Or is the Wimp’s Unicode support so lacklustre that nobody is going to bother, and apps that need it (NetSurf…) will render it themselves when needed? I ask, because I have changed Zap to create the menus with the appropriate character for Latin1 and UTF-8, only to discover that the hotkey alignment is a mess because the Wimp doesn’t recognise the up arrow keypress in UTF-8 form! Thankfully it looks like it’s just the Messages that needs to be tweaked, but still… There’s no official “release” as this is a kind of a minor tweaklet, if you’re interested, it’s here (as a raw file – SetType it as Module). Note that there are numerous thunderstorms around this week, so if my server doesn’t respond, try again later on (as in several hours later, I’m justifiably paranoid).
I don’t plan on changing the keyboard mapping (that’s not a part of the menus anyway). The references to keypresses was to check that they were unique and to ask what the difference was between similar sounding things. |
||||||||
nemo (145) 2546 posts |
It’s not a bug, it’s a feature. The code is doing exactly ‘the right thing’. However, ‘the right thing’ according to strict UTF-8 rules is the wrong thing for RISC OS, as I describe in the ReadMe accompaniment to the UTF8Alphabet module I released very recently.
I doubt it, because the strict UTF-8 implementation is no bloody use in general. Hence my project:
Once UTF-8 with fallback can be used outside the desktop (and therefore at the OS level) it then makes sense to change Wimp, FontManager, and whatever (very few) other things have any UTF-8 code to support the same fallback algorithm (perhaps via the UnicodeSupport SWIs). Then you can use UTF-8 everywhere, and your arrows will come back. |
||||||||
nemo (145) 2546 posts |
I’m debugging VDUExtend right now, which implements 24bit versions of various VDU sequences as extended PLOTs. Then I go back to VDUTabs, which I want to change slightly in the light of having written Elastic (which is amazingly fantastic). Then U8ReadLine, UnicodeSupport and finally the Unicode font. It’s all taking a lot longer than I hoped and I’m really properly cheesed off with the delay. |
||||||||
Steve Pampling (1551) 8170 posts |
80/20 80% of the work is done in 20% of the time and the other 20% of the work takes 80% of the time. However when you discover a new requirement the time segment for that is equal to the first tasks time segment. Bug testing of course needs several time segments allocating (or for Microsoft a lot of users paying to bug test) |
||||||||
nemo (145) 2546 posts |
My middle name is Pareto. |