Post Reply 
newRPL - build 1255 released! [updated to 1299]
12-17-2018, 09:47 PM
Post: #329
RE: newRPL - build 1089 released! [update:build 1127]
(12-17-2018 07:31 PM)cdmackay Wrote:  thanks for the new version.

quick question, please: when viewing command-completion suggestions with AL-DN, shouldn't they be in alphabetical order? They don't seem to be…

thanks.

Suggestions are in "library" order, so they are (loosely) grouped by functionality. This is for speed and zero-memory use reasons. To present sorted results, all results need to be obtained first, then sorted, then the user would be able to scroll through the list. This means there needs to be a list in memory somewhere.
The way it's implemented it simply asks the libraries for the next suggestion given the known first letters. If a library gives up, then it tries the next one. This way there's zero use of memory, and is extensible since new libraries will be queried as they are added (including user libraries!). The down side is that because there's no list of commands, you can't sort it.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: newRPL - build 1001 released! - pier4r - 12-16-2017, 08:03 AM
newRPL - on Hp 39gs - Martin Hepperle - 06-05-2019, 06:51 AM
RE: newRPL - build 1001 released! - pier4r - 12-23-2017, 10:16 AM
RE: newRPL - build 1001 released! - pier4r - 01-01-2018, 09:42 AM
t - Claudio L. - 01-01-2018, 03:06 PM
RE: newRPL - build 1001 released! - pier4r - 01-01-2018, 03:41 PM
RE: newRPL - build 1001 released! - pier4r - 01-02-2018, 04:54 PM
RE: newRPL - build 1001 released! - pier4r - 01-02-2018, 06:58 PM
newRPL - brickviking - 10-05-2018, 06:01 AM
RE: newRPL - build 1089 released! [update:build 1127] - Claudio L. - 12-17-2018 09:47 PM
How to participate? - erazor - 12-13-2019, 07:12 AM



User(s) browsing this thread: 2 Guest(s)