-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit 8fca152
Merge PR #130: Fix bug - textArea ranges extraction
Fix ranges extraction when serializing Text widget tag ranges in rich_text_editor.py.
Previously, iterating with enumerate(ranges[::2]) caused pairing of (startN, startN) for subsequent ranges. This change iterates over the original ranges in steps of 2 to correctly pair (start, end).1 file changed
+3
-3
lines changedOriginal file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
112 | 112 |
| |
113 | 113 |
| |
114 | 114 |
| |
115 | - | ||
116 | - | ||
117 | - | ||
115 | + | ||
116 | + | ||
117 | + | ||
118 | 118 |
| |
119 | 119 |
| |
120 | 120 |
| |
|
0 commit comments