PavelTorgashov / FastColoredTextBox

Fast Colored TextBox for Syntax Highlighting. The text editor component for .NET.
Other
1.22k stars 465 forks source link

Add the ability to change the amount of Undo Stacks #145

Closed Nickelony closed 5 years ago

Nickelony commented 5 years ago

Currently I think there is a maximum amount of 200 Undos / Redos possible, but for my project I need much more. It would be nice to have a setting like textEditor.MaxUndoRedoOperations

Thanks!

PavelTorgashov commented 5 years ago

You can adjust max stack size via static property CommandManager.MaxHistoryLength (must be assigned before creating of FCTB)