mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-14 22:34:09 +02:00
Lost changes
This commit is contained in:
parent
e6c4a95ccd
commit
8e9d7ed4c4
56 changed files with 1579 additions and 794 deletions
|
@ -1244,7 +1244,7 @@ namespace IDE.ui
|
|||
{
|
||||
var undoBatchStart = new UndoBatchStart("pasteText");
|
||||
mData.mUndoManager.Add(undoBatchStart);
|
||||
defer(stack) mData.mUndoManager.Add(undoBatchStart.mBatchEnd);
|
||||
defer:: mData.mUndoManager.Add(undoBatchStart.mBatchEnd);
|
||||
}
|
||||
|
||||
if (HasSelection())
|
||||
|
@ -3644,7 +3644,7 @@ namespace IDE.ui
|
|||
|
||||
bool hadSuggestion = false;
|
||||
List<String> suggestions = scope List<String>();
|
||||
defer (scope) ClearAndDeleteItems(suggestions);
|
||||
defer ClearAndDeleteItems(suggestions);
|
||||
spellChecker.GetSuggestions(word, suggestions);
|
||||
for (var suggestion in suggestions)
|
||||
{
|
||||
|
@ -3789,7 +3789,7 @@ namespace IDE.ui
|
|||
else if (bfSystem != null)
|
||||
{
|
||||
parser = bfSystem.CreateEmptyParser(null);
|
||||
defer(stack) delete parser;
|
||||
defer:: delete parser;
|
||||
var text = scope String();
|
||||
mEditWidget.GetText(text);
|
||||
parser.SetSource(text, mSourceViewPanel.mFilePath);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue