greedquest / vba-toolbox Goto Github PK
View Code? Open in Web Editor NEWA bunch of useful projects and snippets that constitute my toolbox addin
License: Mozilla Public License 2.0
A bunch of useful projects and snippets that constitute my toolbox addin
License: Mozilla Public License 2.0
The synchrolist raises buffered events on addition which is good for ui. But on sorting/filtering only 1 event is raised (1st change event).
Solution would be to have a clear from index method in content. First change index can be found then cleared from there raising no event and re added as normal. That gives proper re-ordering events although it would trigger a load more on-removal then on-addition events. Perhaps another limbo state is in-order
A fully Asynchronous buffer (one which raises events on timer not just on capacity) will lead to some problems with interrupted actions.
There may be more, but so far it looks like changing filter mode/ sort mode will have the biggest effect. Changing one of these modes while the buffer is filling up will lead to the buffer containing some unsorted/unfiltered data - the content wrapper expects fully sorted+filtered data.
Only the first batch out of the buffer after re-sort/filter can be affected by this problem though - as any new items that trigger buffer events will necessarily match the Sort/Filter criteria, it's only the ones already in the buffer that we need to worry about.
SortOnAddition
is set then the wrong item will be tracked, and the incorrect event will be raised. Then content wrapper will sort correctlyA combination of the two is feasible and messy.
Solution:
Perhaps the buffer could be flushed to avoid these problems. But better would be to sort and filter buffer items after leaving the buffer rather than when entering, as this is a synchronous uninterruptible process.
Unit tests for these interrupted actions should be included
When running from a protected addin, a new userform cannot be added to the protected project - causing CompressProjectFileSelector
to fail.
A fix would be to generate any forms in the caller workbook as this is necessarily unprotected, or to flag earlier
The code explorer will work when excel is first opened, but afterwards will not update. The troublesome modules need to be isolated
Please
It would be nice to look at all the non-standard references a project holds and add them when self-extractor does its stuff
The compressor .Extract
will only remove itself if the project name is "myProject", it should have this as a variable instead
There's an extra option explicit inserted automatically in the compressed file, which ends up at the end. File should be cleared first
SynchroList should accept an array of items and unpack it one level, but no further
It'd be good to find sources for some of the larger code segments (that'll definitely be kept medium/long term) and add attributions for them; SO requires it.
Particularly thinking about
Attribution can go into the '@ModuleDescription
annotation
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.