Topten Software Blog
  • Topten Software
  • Blog
  • About
  • Contact
Sign in Subscribe
richedit

Rich Text Editor in C# - Part 7 - Primitive Edit Operations

Brad Robinson

Aug 17, 2020
Rich Text Editor in C# - Part 7 - Primitive Edit Operations

Looks at enhancements to RichTextKit's TextBlock class to support primitive edit operations.

For source code, see this tagged branch of the RichTextKit repo.

Got questions or comments? Find me on Twitter - @toptensoftware

Read more

How to Write a Compiler #7 - Top Level Statements

How to Write a Compiler #7 - Top Level Statements

C-minor's top-level statements are implemented by manipulating the AST before invoking the other compilation stages and are easy introduction to working with the AST.

By Brad Robinson Feb 28, 2024
How to Write a Compiler #6 - Testing

How to Write a Compiler #6 - Testing

For language products typical unit testing doesn't work well long term. Instead I recommend sandboxing for early prototyping and a dedicated test case file runner for more end-to-end style testing.

By Brad Robinson Feb 22, 2024
How to Write a Compiler #5 - The Visitor Pattern

How to Write a Compiler #5 - The Visitor Pattern

If ever there was a design pattern that's perfectly suited to a job, it's the visitor pattern for working with an abstract syntax tree. But what is the visitor pattern and why is it so well suited?

By Brad Robinson Feb 14, 2024
How to Write a Compiler #4 - The Parser

How to Write a Compiler #4 - The Parser

The Parser takes a stream of tokens, checks the syntax is valid and produces an Abstract Syntax Tree.

By Brad Robinson Feb 7, 2024
Topten Software Blog
Powered by Ghost

Topten Software Blog

Design, Development, Technology