]> git.lyx.org Git - features.git/commit
Refactor the macro tables in Buffer.
authorRichard Kimberly Heck <rikiheck@lyx.org>
Mon, 9 Nov 2020 23:29:26 +0000 (18:29 -0500)
committerRichard Kimberly Heck <rikiheck@lyx.org>
Thu, 12 Nov 2020 01:12:32 +0000 (20:12 -0500)
commit10c39c879e99d1263faf56ec03505f3d4fce532f
treeb9c3b248dacac73946fcba3b6b470e3950607dbd
parent28366c68086a54544076d619d4c9c2343bbee230
Refactor the macro tables in Buffer.

The use of maps of maps of structs is beyond confusing. Replace that
with a class that hides at least some of the complexity. There is
probably more that could be done along the same lines.

(Note: This fixes a thinko but is otherwise the same as the previous
commit. So it rewrites history.)

(cherry picked from commit dbf24b113ebb559d91b20fd84c7de1b96684d752)
src/Buffer.cpp