finally after some years I managed to convert / upgrade my old BasEdit to the .NET platform. Switching from DirectX graphics to GDI+ should help all those people who had difficulties to use BasEdit until now.
It's written with VB Express 2008 and uses .NET 3.5

Featurelist:
Code: Select all
Purpose:
Edit Commodore Basic files on the PC with syntax highlighting and support of the full PETSCII character set
Features:
- full featured editor
- unlimited lines
- syntax highlighting
- cut&paste
- search&replace
- insert and overwrite mode
- switch font size small / big
- switch font upper/graphics - lower/upper
- supports special characters for cursor movement and colors in strings
- character window with all 256 PETSCII characters, double-click to insert characters at actual position
- right-click on a line number to jump to that line
- load and save tokenized BASIC (PRG) files
- load and save PETSCII (untokenized) files
- load and save ASCII files
- with support of different translations for {up}, {down}, {clr} etc.
- BasText
- PetCat
- Tok64
- support for
- host filesystem (= directories on PC)
- diskimages (read & write)
- D64
- D71
- D81 (no partitions)
- attach existing or create empty diskimages
- diskmanager tool integrated
- copy files from / to diskimage
- delete files
- rename files
- change order of files in directory
- copy and paste ASCII blocks via clipboard using the above translations
- supports different Basic dialects
- Basic V2
- Basic V3.5
- Basic V4
- Basic V4/C64
- Basic V7
- Basic V10
- @Basic
- Exbasic Level II
- Wimbasic
- Speech Basic
- Turtle Basic
- Waterloo Structured Basic
- Super Expander
- supports different fonts (VIC-20, C64)
- change load adress of PRG file
- Save&Run file in editor with emulator via F5
- file will be automatically converted from label to line# mode if necessary
- prg file will bes saved (host filesystem or diskimage, wherever it was loaded from)
- depending on the start address of the PRG file special emulators will be automatically selected
--> VIC +3K, PET/CBM series
--> C64
--> VIC unexp, VIC +SuperExpander, Plus/4, C16
--> VIC +8K and more
--> C128
--> CBM II series
- and a setting for a standard emulator if none of the above will be selected
- two different edit modes:
a) line# mode: the classic editing mode with line#
- Renumber feature for the whole program or blocks of line#s
- Auto mode with intelligent numbering when inserting lines between existing lines
- Compact source to squeeze as much commands in one line as possible
- Cross refernce to show all jumps and all usages of variables
- Syntax Check
- Proofreader support for Compute '83 and '86 versions
- import binary data with conversion to data lines and an optional POKE-loop
b) label mode: enhanced editing mode without line# like in modern Basics
- one command per line
- indentation of loops
- special comments with ' (single apostroph) will be ignored when converting to line#
- programs can be converted from/to both modes at any time, substituiton of line#/labels will be done automatically
- project mode
- keeps both edit modes in sync, providing a line# PRG file and a label mode PETSCII file for editing
- when using label mode, variables can be of any length and will be shortened automatically when transforming into line# mode
- shortening of variables keeps track of used variables to avoid double usage (CHECK and CHECK1 will be transformed to CH and CE, for example)
- drag and drop files onto BasEdit icon or onto edit area in running BasEdit will load that file
- free definable keyboard layout
- Basic tokens, ASCII tokenizer, different emulators, colors, fonts etc. can be changed via BasEdit.Ini or special files
Code: Select all
movement:
cursor keys - move around
home - start of line
end - end of line
pgup - one page up
pgdown - one page down
ctrl-pgup - got first line
ctrl-pgdown - goto last line
ctrl-home - goto first char
ctrl-end - goto last char
mouse click - move cursor to mouse position
block commands:
(blocks can be either some chars in >one< line or multiple >complete< lines)
shift cursor keys - mark text
shift-del - cut block, copy to blockbuffer
ctrl-del - copy block to blockbuffer
shift-ins - insert blockbuffer
other commands:
num lock - switch between 16x16 (standard) and 8x8 (small) font
ins - switch between insert and overwrite mode
ctrl-shift - switch between fonts (upper+graphics / upper+lower)
right mouse click opens context menu for loading and saving files

Getting the special commodore symbols on PC keyboards can be tough, special mappings are made for
ctrl and letter keys = graphic symbols
alt and numbers = color codes and reverse on/off
alt and cursor keys = {up}, {down}, {left}, {right}
alt and home = {home}
alt and shift and home = {shift home}
Or just open the charset window (F2) and double click on the desired symbol.
Edit BasEdit.Ini for further options like tab indent, which tokenfile to use, colors etc.
http://www.stojalowski.de/files/BasEdit.net.zip - always latest release
No installation needed, just unzip to some folder and have fun.