Ticket #1294 (closed defect: fixed)
Space in text field for pref "editor_right_margin_colum" stops Padre
| Reported by: | dolmen | Owned by: | |
|---|---|---|---|
| Priority: | critical | Milestone: | |
| Component: | Preference System | Version: | 0.90 |
| Keywords: | crash numeric pref editor_right_margin_column | Cc: |
Description
How to reproduce:
- Tools > Preferences > Appearance
- Text field for "Show right margin at column"
- Type a space after the value (default is "80")
- Padre stops with the following message:
Setting 'editor_right_margin_column' to non-posint '80 ' at /home/dolmen/Code/Perl/cpan/Padre/lib/Padre/Wx/Dialog/Preferences.pm line 258
The preference dialog should filter for non-latin-decimal characters in this field.
Change History
Note: See
TracTickets for help on using
tickets.

I"ve confirmed this crasher. It is still present in Padre 0.90. There's another variation besides adding a space at the end.
Say you want to replace "80" with "72". Just delete the "80" in the field. Before you can even start to type "72" to replace it, Padre will have crashed.