Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Small full screen editor
#11
LOL seriously though how do you load and save files, do you have cut/copy/paste?
  724  855  599  923  575  468  400  206  147  564  878  823  652  556 bxor cross forever
Reply
#12
Quote:LOL seriously though how do you load and save files, do you have cut/copy/paste?
 
Prompt for filename; no dialog box or file display.
Filename is using binary i/o.
Support for Linux chr$(13).

Has no highliting cut or copy or paste yet.

Now 3532 lines.

Erik.
Reply
#13
Update to v4.6a is attached here:

 Small full screen editor for QB64 v4.6a 06/15/2025 PD.

Version history:
Code: (Select All)
Initial port to QB64 v1.0a
New v2.0a:
    Adds insert cursor for overstrike in Backspace, Tab, and InsertChar.
    Adds support for 40 column editing and display.
New v3.0a:
    Adds ListFiles and SearchFiles.
New v3.1a:
    Fixes some scrolling in SearchFiles.
New v3.2a:
  Adds Ctrl-C copyfile in SearchFiles.
  Adds Ctrl-D changedrive in SearchFiles.
  Adds OldSkool directory delete in SearchFiles.
New v3.3a:
  Adds F1 help key to ScrnEdit.
  Adds F1 help key to SearchFiles.
New v3.4a:
  Adds _hide to shell in SearchFiles.
  Adds drives to file list in SearchFiles.
  Adds shell to vol to SearchFiles.
New v3.5a:
   Moves F2 display in SearchFiles.
   Adds F4 toggle sort order in SearchFiles.
   Display Drive: and Dir: and File: in Display.Screen in SearchFiles.
New v3.6a:
   Adds DriveList to improve display in Display.Screen in SearchFiles.
   Adds custom FileExists and DirExists functions.
   Adds Ctrl-E MKdir and Ctrl-F refresh to SearchFiles.
New v3.7a:
   Adds buffer to Ctrl-C CopyFile in SearchFiles to improve copying speed.
   Adds F8 to recursively load file in ScrnEdit.
New v3.8a:
   Fixes buffer overrun in CopyFile in SearchFiles.
   Fixes pagedown in Ctrl-End in SearchFiles.
   Fixes error with long filename.
New v4.0a:
   Adds Ctrl-G RenameFile in SearchFiles.
   Adds Ambig$ function to ValidFileChar2$
   Adds file exists ValidFileChar3$ function to ScrnEdit.
New v4.1a:
    Adds Tab and Shift-Tab to SearchFiles.
    Adds Control-Right and Control-Left to SearchFiles.
    Adds Control-Up and Control-Down to SearchFiles.
    Checks Ctrl-D ChangeDrive is in drivelist.
New v4.2a:
    Adds F4 AppendFile and F5 InsertFile to ScrnEdit.
    Fixes array error in InsertFile.
    Adds '-/+', 'a-z', 'A-Z', '0-9' to scan filename in SearchFiles.
    Adds F3 to search filename in SearchFile. And Ctrl-F3 to repeat search.
New v4.3a:
    Adds counters and continuous display to ListFiles.
    Adds FormatString$ output display to ListFiles.
New v4.4a:
    Adds prompt for DirSpec in SearchFiles.
    Adds F4 to sort files and F5 to sort dirs in SearchFiles.
    Adds F6 to recursively call SearchFiles.
New v4.5a:
    Adds custom Command$ function.
New v4.6a:
    Fixes exit sub in SearchFiles.
    Fixes read command$ in startloop.
Now 3532 lines.

Erik.


[Image: scrnedit3.png]


Attached Files
.zip   SCRNED46.ZIP (Size: 76.72 KB / Downloads: 102)
Reply
#14
Hi,

I have decided to bump this code to the top.

I have found this screen editor program to become a fully fledged project.
  (a project is a collection of programs)..

The attached file will ditch all previous posts concerning Scrnedit.bas and Scrnedit.zip

There will be additional version upgrades in the near future.

Erik.

Code: (Select All)
New v4.0a:
    Adds Ctrl-G RenameFile in SearchFiles.
    Adds Ambig$ function to ValidFileChar2$
    Adds file exists ValidFileChar3$ function to ScrnEdit.
New v4.1a:
    Adds Tab and Shift-Tab to SearchFiles.
    Adds Control-Right and Control-Left to SearchFiles.
    Adds Control-Up and Control-Down to SearchFiles.
    Checks Ctrl-D ChangeDrive is in drivelist.
New v4.2a:
    Adds F4 AppendFile and F5 InsertFile to ScrnEdit.
    Fixes array error in InsertFile.
    Adds '-/+', 'a-z', 'A-Z', '0-9' to scan filename in SearchFiles.
    Adds F3 to search filename in SearchFile. And Ctrl-F3 to repeat search.
New v4.3a:
    Adds counters and continuous display to ListFiles.
    Adds FormatString$ output display to ListFiles.
New v4.4a:
    Adds prompt for DirSpec in SearchFiles.
    Adds F4 to sort files and F5 to sort dirs in SearchFiles.
    Adds F6 to recursively call SearchFiles.
New v4.5a:
    Adds custom Command$ function.
New v4.6a:
    Fixes exit sub in SearchFiles.
    Fixes read command$ in startloop.

I have made an effort in making sure the QB64 version is backwards compatible with QB 1.1, QB 4.5, QB 7.1 (PDS) and VBdos Pro.

Now 3532 lines.


Attached Files
.zip   SCRNED46.ZIP (Size: 76.72 KB / Downloads: 92)
Reply
#15
An improved Screen Editor v4.6a for QB64 PD 2025.

Now includes:

Code: (Select All)
 New v4.5a:
    Adds custom Command$ function.
New v4.6a:
    Fixes exit sub in SearchFiles.
    Fixes read command$ in startloop.
Fixes * in commandline returning filelist..

Erik.

LOC: 3532

btw: also included is backward compatible to QB 1.1, 4.5, 7.1.


Attached Files
.zip   SCRNED46.ZIP (Size: 76.72 KB / Downloads: 84)
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Screen fonts in SCREEN 0 BDS107 14 3,570 07-08-2025, 08:05 PM
Last Post: madscijr
  The NEW MS DOS Editor NakedApe 3 813 06-25-2025, 01:00 PM
Last Post: a740g
  The QB64 full screen editor eoredson 6 2,119 08-29-2023, 05:58 PM
Last Post: krovit
  Small Collection of Angle Conversion Functions TarotRedhand 4 1,213 05-17-2022, 03:35 PM
Last Post: bplus

Forum Jump:


Users browsing this thread: 1 Guest(s)