« first day (3109 days earlier)      last day (71 days later) » 

00:07
REFRESH!
[Minesweeper] 75 Games Played. 37 Bombs Used. 9034 Moves Performed. 18 New Users
[Rubberduck] 1 Indenter requests. 1 Synchronizations
[MDoerner/AdventOfCode2022] 3067 additions. 294 deletions. 5 commits
 
2 hours later…
01:47
0
Q: "Sudo Mode" in VBA to Let UDFs Modify Workbook

GregBackground I am working on a VBA paradigm for modifying the Excel environment from a UDF. I call this "sudo mode", and I leverage Application.Run() to invoke a delegate procedure, like RunSudo() in my example. ' Delegate to sudo mode. ... Application.Run GetSudoCall() ' ^^^^^^^^^^...

 
4 hours later…
05:52
 
14 hours later…
19:58
Got the declarations section to fold at the last statement (or comment) before the first member, and the first member's fold to include top-of-procedure contiguous comment lines
Only the top-of-procedure comments for the rest of a module remain weird
Hm, actually top-of-procedure comments should not be folding along with the procedure, but contiguous comment lines should be foldable
Meh, got other priorities; moving on to block completion.
20:23
also, there's exactly zero difference between a 10-liner module and a 700-liner module, and most of the delay with 1300 lines feels like it's still the idle timer. 2600 lines feels the same, 5100 lines too, ..I'm at 10.2K lines and it's still sub-second to parse, fold, and syntax-highlight.
2
VBE won't take more than 10K lines, so I'll stop here :)
d*mn that's slick
if we're going to have our lunch taken by twinBASIC, ...might as well make it a challenge :)
aargh, there's the precompiler directives that needs to be taken care of too.. that one's a puzzler for now
we'll need two quick-parse passes to solve it I think
(and the colorizer for dead code to make it cute)
hm, that "syntax error" probably shouldn't have blown the rest of the parse pass though
21:12
@MathieuGuindon yeah ok... when the parser doesn't choke on a conditional compilation directive at line 346 and actually goes to line 9999, it does take a noticeable while... but the editor doesn't freeze or anything, so it's like "oh well, it'll catch up soon enough"
for a small module it's just ridiculous
but... 5 seconds is way too long to wait for block completion
okay, so we're sub-second up to ~1350 lines.
...but that's with the LL prediction mode
SLL handles 10K lines eyes closed
lol SLL parses a small module faster than you can physically bat an eyelid
so, block completion can work off SLL
(even as it ends up requiring 2 passes)
actually, the editor parser could work off its own simplified grammar - it doesn't need to know everything about procedure bodies, just a handful of specific foldable code blocks
 
1 hour later…
22:50
got sidetracked with code completion.. it's going to be fun to implement once we have the full parser up. for now there's just a method that can show the completion popup given a bunch of ICompletionData items
I'll leave it at that for now
pushed
23:51
[rubberduck-vba/Rubberduck] 1680 stars vs. [decalage2/oletools] 2279 stars

« first day (3109 days earlier)      last day (71 days later) »