DirectWrite autocompletion

17 views
Skip to first unread message

Neil Hodgson

unread,
Mar 18, 2025, 3:32:03 AM3/18/25
to scintilla-interest
On Win32, autocompletion can now use DirectWrite. This will produce better quality text drawing that matches document text more closely. 

It occurs automatically when DirectWrite is used for the main window.

Win32 autocompletion lists are now always wide enough to accommodate all list items as each is measured. Previously only the item with the most characters was measured which could lead to some items being truncated. Performance of this seems OK but there may need to be some limit for very long lists like only measuring the first 10,000 items.

The committed changes can be examined either in the repositories

hg clone http://hg.code.sf.net/p/scintilla/code scintilla
hg clone http://hg.code.sf.net/p/scintilla/scite

or from

https://www.scintilla.org/scite.zip Source
https://www.scintilla.org/wscite.zip Windows executable (64-bit)

Neil
Reply all
Reply to author
Forward
0 new messages