GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - The90Frank/TextEditor: Windows Forms text editor in F# with per-character 2D transformations and interactive control panel

BranchesTags
Open more actions menu

Latest commit

 

History

5 Commits
5 Commits

Folders and files

NameName
Last commit message
Last commit date
Tutorial5
Tutorial5
 
 
.gitignore
.gitignore
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 

Repository files navigation

TextEditor

A text editor with 2D transformations built in F# using Windows Forms and a custom lightweight control framework, based on the tutorial by Cisternino (Unipi).

Tutorial playlist: https://www.youtube.com/watch?v=iaKZSFkDZuI&list=PLH0ZF0pFNhGg5fa1g1V6yuoHgkWPCj80D

Features

  • Interactive text editing with keyboard input (alphanumeric, space, Enter, Delete)
  • Per-character transformations - each character can be individually positioned, rotated, and scaled
  • Pan, zoom, and rotate the entire canvas via on-screen controls or function keys
  • Font switching between multiple fonts per character
  • Multi-selection with Ctrl modifier for bulk transformations
  • Cursor animation with blinking effect
  • Custom lightweight control framework (LWControl/LWContainer) with hit testing and event routing

Controls

Input Action
Alphanumeric keys Type characters
Enter New line
Delete Remove selected character
F1-F8 Movement and transformation shortcuts
Ctrl + click Multi-select characters
▲▼◄► buttons Navigate / translate
+/- buttons Zoom in/out
L/R buttons Rotate
F button Switch font

Architecture

The project is composed of three layers:

  • worldview.fsx - World-to-View matrix transformations (translate, rotate, scale)
  • lvc.fsx - Lightweight control framework with abstract LWControl and LWContainer
  • Tutorial.fsx - Editor logic: Carattere (character objects), Editor (editing surface), Controlli (navigation panel), ControlliEditor (transformation controls)

Tech stack

  • F# on .NET Framework 4.6.1
  • Windows Forms / GDI+ / System.Drawing.Drawing2D

License

Apache License 2.0 - see LICENSE for details.

About

Windows Forms text editor in F# with per-character 2D transformations and interactive control panel

Topics

2d-transformationsfsharpgdi-plustext-editorunipiwindows-forms

Resources

Readme
Apache-2.0 license
Activity

Stars

0 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.