Quote Originally Posted by DaveR View Post
back to charmode (what else are Saturdays for?)
Working on the Hammer, DfSplat, perhaps even DfRefactor

Quote Originally Posted by DaveR View Post
One question though?

the content of lock/unlock and reread/unlock blocks don't get indented. Was that a deliberate choice?
Yes.

The logic for the reindent is piggybacking on the code folding logic.
The problem with lock/unlock and reread/unlock is that a conditional lock/reread combination is not that uncommon.

Eg.

Code:
if (a>b) begin
  lock
  clear foo
end
else begin
  reread foo
  move c to foo.d
end

....

unlock
With two starting points and one exit, things suddenly get a lot more complicated in regards to folding and determining with which reread/lock statement the unlock is matching.

As a result I did not consider working on code to reindent these lock/unlock and reread/unlock blocks.

BTW, you promised me some code...
--
Wil