1. 03 Apr, 2015 1 commit
    • Robert Sprowson's avatar
      Switch from ArcEdit style model to clipboard cut & paste model · 43f41e3a
      Robert Sprowson authored
      edit.c:
       Register clipboard wimp messages on startup.
       Mark local functions as static.
      message.c:
       Let the task window accept clipboard pastes too.
       This is tied to the 'Ignore ctrl' menu option. When enabled (default) then ^C ^V are filtered out to for clipboard typing to the task, and filters control characters from the task too (as before). When disabled, ^C ^V are passed raw to the task, and all VDU is displayed raw from the task. Cut & paste can still be performed in the disabled case by using the Edit->Select menu.
      Messages:
       Remove TaskInput from Task menu, add clipboard keys to Select menu, add swap case to Select menu.
       Slim down the Misc menu which was too wide in system font.
       Update interactive help.
       Use some more of the escape code tokens in interactive help.
       Declare the previously secret Ctrl-Shift-F1 hotkey for Expand tabs.
      Templates:
       Line use magic search character '\n' in the dialogue.
      New documentation 'ClipKeys' is a complete survey of the hotkeys for !Edit and !SrcEdit with reference to the RISC OS 3.70 welcome manual and a few hidden ones, compared with the current implementation.
      Requires RISC_OSLib-5_85.
      
      Version 1.72. Tagged as 'Edit-1_72'
      43f41e3a
  2. 08 Jul, 2014 1 commit
    • Robert Sprowson's avatar
      Eliminate need for EditIntern headers · b4a4382a
      Robert Sprowson authored
      edit.c:
      txtar.h and txtoptmenu.h weren't actually needed since none of their definitions were in use.
      txtfile.h was being used for a single function which is now implemented in save_one_txt(), sharing code with the panic file save function.
      Accept RISC_OS_PLUS switch (circa RISC OS 3.00) is always true now, and delete some experimental code.
      Fix bug in panic file saves to Wimp$ScrapDir, the filetype was being derived from bits 20-31 of the load address rather than 8-19. Panic save also changed to use RISC_OSLib style SWI functions rather than _swi and _swix.
      message.c:
      Take ownership of the task window defines, same as SrcEdit has for some years.
      
      Tested in a RAM install, printing a 2 line BASIC program out.
      
      Version 1.70. Tagged as 'Edit-1_70'
      b4a4382a
  3. 21 Aug, 2012 1 commit
    • Robert Sprowson's avatar
      Fix ROM resources phase to not install !Sprites22 · 1831b70a
      Robert Sprowson authored
      When in ROM there's no need to stuff the sprites into ResourceFS since they're in the Wimp pool. Moreover, only !Sprites22 was being installed, so if booting into a low res mode !Edit wouldn't start because !Sprites was not found.
      * Ammended Makefile to not do sprites during resources
      * Ammended Makefile to do both resolution sprites for the disc install
      * Used StdTools and ModuleLibs shared makefiles
      * Resolved some of the easy warnings
      * Changed to use '_Version' as the info box token, so allowing use of the centralised AwkVers script
      * Added ROM !Boot file (as !Draw has) which is a cutdown version of the disc one
      Tested briefly, still loads files and opens task windows OK.
      
      Version 1.66. Tagged as 'Edit-1_66'
      1831b70a
  4. 31 May, 2009 1 commit
  5. 29 May, 2009 1 commit
  6. 05 Nov, 1996 1 commit