Skip to content

VanillaDeath/Bortpad

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

73 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bortpad

Bortpad is a reproduction of a familiar😉 simple Windows-based text editor.
It is primarily a C# learning project for myself.

Extra Features

🔙 Multiple undo levels
🔁 Redo
🔍 Search with Google instead of the other one
🌙 Simple dark mode
📚 Multi-file drag-and-drop to open


Technical Details

Bortpad is a C# WinForms application, built on .NET Framework 4.8, designed to closely match the built-in Windows 10 text editor.

  • Like its inspiration, Bortpad supports basic file editing (New, Open, Save), changing the textbox font, text zoom, word wrap, a basic status bar, and simple find and replace functions.
  • It uses the Scintilla.NET component for text editing.
  • The status bar shows line number, column number, zoom level, etc.
  • Find and replace dialogs are non-modal but stay in front, as expected.
  • The Go To prompt uses a specialized version of the TextBox control that only accepts numeric input, and displays a balloon-tip when other characters are entered.
  • It will keep track of the same settings between uses: font style, word wrap, show statusbar, find/replace settings.
  • A simple dark mode that swaps the editor pallette is implemented (setting maintained between uses).
  • Search web for selection is hard-coded to Google instead of a competitor's search engine.
  • Supports command-line argument to open file.
  • Supports text drag-and-drop on editor, file drag-and-drop on window.
  • Localized to English, French, and Japanese (v1.0.5).

Releases

  • Fixed printing
  • French localization
  • Japanese localization
  • v1.0.4

Skipped (due to compiler error that needed version increase to fix)

  • Reverted to .NET Framework 4.8 since the Scintilla custom control wouldn't co-operate with .NET Core's designer
  • A lot of code clean-up
  • Decoupled Find/Replace/Goto prompts from main class using events
  • Converted from legacy App.config API (built into .NET Framework) to SharpConfig project (.NET Core compatible)
  • Built as single exe
  • Fixes and improvements

Initial release.

All Releases