~ubuntu-branches/ubuntu/maverick/codelite/maverick

« back to all changes in this revision

Viewing changes to .pc/01_x-terminal-emulator.patch/LiteEditor/manager.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Alessio Treglia
  • Date: 2010-07-29 19:42:47 UTC
  • mfrom: (1.1.9 upstream) (18.1.1 sid)
  • Revision ID: james.westby@ubuntu.com-20100729194247-cuibfk03wog33nxq
Tags: 2.6.0.4189~dfsg-1
* New upstream release.
* Bump Standards.
* Refresh patches.
* Add license information about files under ./Debugger/

Show diffs side-by-side

added added

removed removed

Lines of Context:
27
27
#include "evnvarlist.h"
28
28
#include "crawler_include.h"
29
29
#include "renamefiledlg.h"
 
30
#include "clang_code_completion.h"
30
31
#include "localstable.h"
31
32
#include "new_quick_watch_dlg.h"
32
33
#include "debuggerconfigtool.h"
213
214
        SearchThreadST::Free();
214
215
        MenuManager::Free();
215
216
        EnvironmentConfig::Release();
216
 
 
 
217
        ClangCodeCompletion::Release();
 
218
        
217
219
        if ( m_shellProcess ) {
218
220
                delete m_shellProcess;
219
221
                m_shellProcess = NULL;
233
235
 
234
236
void Manager::CreateWorkspace ( const wxString &name, const wxString &path )
235
237
{
 
238
 
236
239
        // make sure that the workspace pane is visible
237
240
        ShowWorkspacePane (Frame::Get()->GetWorkspaceTab()->GetCaption());
238
241
 
342
345
        wxSetWorkingDirectory ( GetStarupDirectory() );
343
346
#endif
344
347
 
 
348
        /////////////////////////////////////////////////////////////////
 
349
        // set back the "Default" environment variable as the active set
 
350
        /////////////////////////////////////////////////////////////////
 
351
 
 
352
        EvnVarList vars = EnvironmentConfig::Instance()->GetSettings();
 
353
        if(vars.IsSetExist(wxT("Default"))) {
 
354
                vars.SetActiveSet(wxT("Default"));
 
355
        }
 
356
        EnvironmentConfig::Instance()->SetSettings(vars);
 
357
        Frame::Get()->SetEnvStatusMessage();
 
358
 
345
359
        UpdateParserPaths();
346
360
        m_workspceClosing = false;
347
 
 
348
361
}
349
362
 
350
363
void Manager::AddToRecentlyOpenedWorkspaces ( const wxString &fileName )
3087
3100
        // -----------------------------------------------
3088
3101
 
3089
3102
        TagsManagerST::Get()->RetagFiles ( projectFiles, event.GetInt() );
 
3103
 
 
3104
#if !USE_PARSER_TREAD_FOR_RETAGGING_WORKSPACE
3090
3105
        long end   = sw.Time();
3091
3106
        Frame::Get()->SetStatusMessage(wxT("Done"), 0);
3092
3107
        wxLogMessage(wxT("INFO: Retag workspace completed in %d seconds (%d files were scanned)"), (end)/1000, projectFiles.size());
3093
3108
        SendCmdEvent ( wxEVT_FILE_RETAGGED, ( void* ) &projectFiles );
 
3109
#endif
3094
3110
 
3095
3111
        delete fileSet;
3096
3112
}