mirror of
https://github.com/icecoder/ICEcoder.git
synced 2026-03-03 07:13:59 +01:00
savedPoints now replaces changedContent It's role is also different - it contains the integer change num from CM on load/save/revert etc. We can compare this against the current change num provided by CM (changeGeneration) to see if content has changed Removed redoChangedContent function. This was only called once (by editor.php) on all keyup's and we used ropey key detection to set changedContent. As we're no longer storing changed doc values, we no longer need this, and as redoTabHighlight is already called on CM change (much more efficient BTW), we now don't need this function at all getcMInstance can now accept a tab number, 'new' string or nothing (both those last 2 use selectedTab) Wrap fMIconVis setting in an if condition so we don't try to set it when doc isn't there yet All instances of changedContent now savedPoints where it still remains