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?
b = b + ...
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 1848 lines.

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

 Small full screen editor for QB64 v4.4a 02/15/2024 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.
Now 3502 lines.

Erik.


[Image: scrnedit3.png]


Attached Files
.txt   scrnedit.txt (Size: 907 bytes / Downloads: 28)
.bas   SCRNEDIT.BAS (Size: 118.97 KB / Downloads: 27)
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.

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 3502 lines.


Attached Files
.zip   SCRNED44.ZIP (Size: 76.26 KB / Downloads: 18)
Reply




Users browsing this thread: 1 Guest(s)