Article Details
Id: | 19047 |
Product: | finPOWER Connect |
Type: | FIX |
Version: | 3.04.04 |
Opened: | 02/03/2022 |
Closed: | 04/03/2022 |
Released: | 09/06/2022 |
Job: | J028399 |
Script Editor; may cause an unhandled exception when inserting a Constant or Snippet
Inserting a Constant or Snippet into Script Code may fail with the error "An unhandled exception has occurred. The text range '{Start Offset=999, EndOffset=999}' must be less than or equal to the count of characters in the document."
This occurs if you start selecting text and move the selection backwards to select multiple characters. Then insert a constant or snippet.
Note, if you start selecting text and move the selection forward, inserting a constant or snippet works correctly.