DavidKinder / Windows-Inform7

Front-end for the Windows version of Inform 7.
http://inform7.com/
Artistic License 2.0
70 stars 10 forks source link

Glk hyperlinks in the story tab do not work for link values >65,535 #5

Closed DavidKinder closed 3 years ago

DavidKinder commented 3 years ago

The implementation of hyperlinks in text buffer windows in the story tab works by storing the numeric link value in the "style" field of the RichEdit CHARFORMAT2 structure. However, this is only a 16-bit value, so link vales larger than 65535 are not handled correctly.

See also https://intfiction.org/t/idea-for-a-unified-framework-for-handling-hyperlinks-in-inform-7/47246/15

DavidKinder commented 3 years ago

Fixed by 28c698e8979c79b9090a661dc0df7f4c763b4533