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

« back to all changes in this revision

Viewing changes to LiteEditor/menu_event_handlers.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:
40
40
        if (event.GetId() == wxID_COPY) {
41
41
                // if the selection is empty, copy the line content
42
42
                if(editor->GetSelectedText().IsEmpty()) {
43
 
                        editor->LineCopy();
 
43
                        editor->CopyAllowLine();
 
44
 
44
45
                } else {
45
46
                        editor->Copy();
46
47
                }