[root] / trunk / gui / gui / src / TGTextEditor.cxx Repository:
ViewVC logotype

Log of /trunk/gui/gui/src/TGTextEditor.cxx

Parent Directory Parent Directory


Links to HEAD: (view) (download) (as text) (annotate)
Sticky Revision:

Revision 48992 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Mar 28 15:26:26 2013 UTC (21 months, 3 weeks ago) by rdm
File length: 41670 byte(s)
Diff to previous 48039
From Lifeng Sun:
The attached patchset fixes a bunch of typo in the source:
0001-succes-success.patch
0002-preceed-preced.patch
0003-informations-information.patch
0004-childs-children.patch
0005-avaliable-available.patch
0006-writeable-writable.patch
0007-comand-command.patch
0008-unkown-unknown.patch
0009-wierd-weird.patch
0010-wheter-whether.patch
0011-unecessary-unnecessary.patch
0012-splitted-split.patch
0013-registerd-registered.patch
0014-recieve-receive.patch
0015-processsing-processing.patch
0016-ouput-output.patch
0017-mutiple-multiple.patch
0018-lenght-length.patch
0019-interupted-interrupted.patch
0020-independant-independent.patch
0021-inconsistant-inconsistent.patch
0022-expresion-expression.patch
0023-explicitely-explicitly.patch
0024-enviroment-environment.patch
0025-deafult-default.patch
0026-continous-continuous.patch
0027-completly-completely.patch
0028-commited-committed.patch
0029-choosen-chosen.patch
0030-backgroud-background.patch
0031-auxilliary-auxiliary.patch
0032-authentification-authentication.patch
0033-appropiate-appropriate.patch
0034-an-other-another.patch
0035-environement-environment.patch
0036-targetting-targeting.patch
0037-suppported-supported.patch
0038-paramater-parameter.patch

Revision 48039 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Dec 14 10:32:37 2012 UTC (2 years, 1 month ago) by bellenot
File length: 41671 byte(s)
Diff to previous 43733
Move the DataChanged() slot method in the source file, otherwise TQObject::CheckConnectArgs doesn't find it (at least with cling, since it was working with cint...)

Revision 43733 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Apr 13 13:43:16 2012 UTC (2 years, 9 months ago) by bellenot
File length: 41426 byte(s)
Diff to previous 42790
Make sure we disconnect from the gApplication->Terminate(Int_t) signal when closing the window (should fix crash in the stressGUI app)

Revision 42790 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jan 25 13:28:42 2012 UTC (2 years, 11 months ago) by bellenot
File length: 41328 byte(s)
Diff to previous 41891
Stay in the current (working) directory when using "File -> Save as..." from a canvas or from a text editor (as the file dialog changes the current directory). This solves the bug #90474: When savin a TCanvas from Canvas Window the current working directory in python shell get's changed (https://savannah.cern.ch/bugs/?90474)

Revision 41891 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Nov 10 22:46:31 2011 UTC (3 years, 2 months ago) by pcanal
File length: 41233 byte(s)
Diff to previous 41152
Remove all assigned but unused variable discovered by g++ 4.6.1 (including one completely nop function)

Revision 41152 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Oct 5 13:46:19 2011 UTC (3 years, 3 months ago) by bellenot
File length: 41271 byte(s)
Diff to previous 39053
Fix coverity reports (dereference null value)

Revision 39053 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Apr 29 16:16:40 2011 UTC (3 years, 8 months ago) by bellenot
File length: 41223 byte(s)
Diff to previous 39052
Move the Disconnect() call at the right position...

Revision 39052 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Apr 29 16:11:13 2011 UTC (3 years, 8 months ago) by bellenot
File length: 41217 byte(s)
Diff to previous 39049
Disconnect the signal when closing the window.

Revision 39049 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Apr 29 15:47:53 2011 UTC (3 years, 8 months ago) by bellenot
File length: 41168 byte(s)
Diff to previous 38842
Cleanup the text when quitting root (avoid potential crash on Linux)

Revision 38842 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Apr 14 12:07:24 2011 UTC (3 years, 9 months ago) by bellenot
File length: 41059 byte(s)
Diff to previous 38125
Change the text highlighing colors

Revision 38125 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Feb 17 20:11:36 2011 UTC (3 years, 11 months ago) by bellenot
File length: 41059 byte(s)
Diff to previous 33875
- Add a "Close" menu entry
- Properly ask the user to save the currently opened file (if modified) when trying to open a new file
- Moved the IsSaved() part of the code in the LoadFile() method, to make sure it works also the text editor is used as a plugin in the browser

Revision 33875 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jun 14 12:57:10 2010 UTC (4 years, 7 months ago) by bellenot
File length: 40793 byte(s)
Diff to previous 32587
Use the proper array delete [] for scalars (coverity)

Revision 32587 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Mar 12 14:03:36 2010 UTC (4 years, 10 months ago) by bellenot
File length: 40790 byte(s)
Diff to previous 28247
Fix several potential buffer overflows (coverity)

Revision 28247 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Apr 16 09:54:40 2009 UTC (5 years, 9 months ago) by bellenot
File length: 40655 byte(s)
Diff to previous 26066
Use new way of adding right aligned shortcuts in the menu entries

Revision 26066 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Nov 3 13:42:19 2008 UTC (6 years, 2 months ago) by bellenot
File length: 40711 byte(s)
Diff to previous 25914
- Allow to execute a macro without having to save it first.
  Should solve: https://savannah.cern.ch/bugs/?33470

Revision 25914 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Oct 22 09:44:05 2008 UTC (6 years, 3 months ago) by bellenot
File length: 40587 byte(s)
Diff to previous 23115
TGFrame.cxx, TGSplitter.cxx:
- Allow to properly save splitter primitives

TGTextEditor.cxx:
- Remove unused frames instead of just unmap them 
  (solve problem with SavePrimitive)

Revision 23115 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Apr 10 13:35:37 2008 UTC (6 years, 9 months ago) by rdm
File length: 40513 byte(s)
Copied from: trunk/gui/src/TGTextEditor.cxx revision 23114
Diff to previous 20958
moved to directory "gui" the following directories:

fitpanel, ged, gui, guibuilder, guihtml, qtgsi, qtroot, sessionviewer

Revision 20958 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Nov 21 12:23:51 2007 UTC (7 years, 2 months ago) by antcheva
Original Path: trunk/gui/src/TGTextEditor.cxx
File length: 40513 byte(s)
Diff to previous 20900
From Bertrand:
Fixed memory leaks discovered with gObjectTable->Print().

Revision 20900 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Nov 19 14:49:51 2007 UTC (7 years, 2 months ago) by brun
Original Path: trunk/gui/src/TGTextEditor.cxx
File length: 40667 byte(s)
Diff to previous 20882
From Bertrand:
- Fixes uninitialized memory reads and memory leaks reported by Rational
Purify

Revision 20882 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Nov 19 11:31:26 2007 UTC (7 years, 2 months ago) by rdm
Original Path: trunk/gui/src/TGTextEditor.cxx
File length: 40707 byte(s)
Diff to previous 20634
Set property svn:eol-style LF on all source and Makefiles. This should avoid
problems with Win32 line endings ending up in the repository. All MS tools
support LF eols fine.

Revision 20634 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Nov 4 08:55:06 2007 UTC (7 years, 2 months ago) by brun
Original Path: trunk/gui/src/TGTextEditor.cxx
File length: 40707 byte(s)
Diff to previous 20620
From Bertrand:
- Fix a problem reported by Sergey Linev:
When I work with new browser and edit text file, it 
ask to save modified file when browser is closed.
If I press "Yes" or "No", everything is ok, but if 
I press "Cancel", I get segmentation violation. 
Same is happening, if I press "Yes", but in file 
dialog press "Cancel".

Revision 20620 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Nov 2 14:15:14 2007 UTC (7 years, 2 months ago) by antcheva
Original Path: trunk/gui/src/TGTextEditor.cxx
File length: 40521 byte(s)
Diff to previous 19826
From Bertrand:
 Remove the command line combo box and its associated label
 and disable the "Quit" toolbar button when embedding the 
 TGTextEditor in TRootBrowser

Revision 19826 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Sep 19 19:56:11 2007 UTC (7 years, 4 months ago) by rdm
Original Path: trunk/gui/src/TGTextEditor.cxx
File length: 39732 byte(s)
Diff to previous 19825
imported svn:keywords Id property

Revision 19825 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Sep 19 19:49:10 2007 UTC (7 years, 4 months ago) by rdm
Original Path: trunk/gui/src/TGTextEditor.cxx
File length: 39791 byte(s)
Diff to previous 19816
remove :$ from tag line

Revision 19816 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Sep 18 12:05:00 2007 UTC (7 years, 4 months ago) by antcheva
Original Path: trunk/gui/src/TGTextEditor.cxx
File length: 39801 byte(s)
Diff to previous 19812
rom Bertrand:

Fixed the crash caused by the previous patch when doing:
TGTextEditor *te = new TGTextEditor();
delete te;

Revision 19812 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Sep 18 09:51:12 2007 UTC (7 years, 4 months ago) by antcheva
Original Path: trunk/gui/src/TGTextEditor.cxx
File length: 39494 byte(s)
Diff to previous 19754
From Bertrand:
Move cleanup from destructor to DeleteWindow(), to
avoid crashes when closing embedded TGTextEditor

Revision 19754 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Sep 4 10:43:54 2007 UTC (7 years, 4 months ago) by antcheva
Original Path: trunk/gui/src/TGTextEditor.cxx
File length: 39303 byte(s)
Diff to previous 18567
From Bertrand:
Replaced fClient->GetRoot() by fClient->GetDefaultRoot()
in TGPopupMenu constructors to be able to properly embed
(reparent) TGTextEditor.

Revision 18567 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Apr 24 10:01:28 2007 UTC (7 years, 9 months ago) by brun
Original Path: trunk/gui/src/TGTextEditor.cxx
File length: 39268 byte(s)
Diff to previous 18556
From Bertrand:
Fix coding conventions.

Revision 18556 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Apr 23 09:07:27 2007 UTC (7 years, 9 months ago) by brun
Original Path: trunk/gui/src/TGTextEditor.cxx
File length: 39091 byte(s)
Diff to previous 17379
From Bertrand:
 - Improve TGLVEntry picking for Drag operation
 - Use Turl for uri-list format in TGTextView::HandleDNDdrop
 - Update file infos in TGTextEditor when a file has been dropped
 - Change highlight color in TGTextEditor

Revision 17379 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jan 17 17:05:09 2007 UTC (8 years ago) by antcheva
Original Path: trunk/gui/src/TGTextEditor.cxx
File length: 38501 byte(s)
Diff to previous 15763
From Axel:
- added #include "TObjString.h" (as a step before removing it from TMacro.h)

Revision 15763 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jul 11 09:05:02 2006 UTC (8 years, 6 months ago) by rdm
Original Path: trunk/gui/src/TGTextEditor.cxx
File length: 38482 byte(s)
Diff to previous 15497
correct a number of incorrect and/or ambiguous license statements.

Revision 15497 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jun 21 09:21:47 2006 UTC (8 years, 7 months ago) by antcheva
Original Path: trunk/gui/src/TGTextEditor.cxx
File length: 38931 byte(s)
Diff to previous 15487
From Bertarnd:
- added details of the editor capabilities in the class description
- added TGTextEditor help text
- fixed coding conventions violations

Revision 15487 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jun 20 13:17:48 2006 UTC (8 years, 7 months ago) by antcheva
Original Path: trunk/gui/src/TGTextEditor.cxx
File length: 30172 byte(s)
Diff to previous 15480
From Bertrand:
TGTextEdit widget:
- Added Ctrl+Home and Ctrl+End key handling.
- Added a protection in HandleDoubleClick in case of empty text.
TGTextEditor:
- Fixed alignment of shortcut names.
- Added shortcut for Compile, Execute and Interrupt menu entries.
- Fixed a type casting problem on Solaris and MSVC8.

Revision 15480 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jun 20 08:32:07 2006 UTC (8 years, 7 months ago) by brun
Original Path: trunk/gui/src/TGTextEditor.cxx
File length: 29344 byte(s)
Diff to previous 15478
Move the gif file in the class description.

Revision 15478 - (view) (download) (as text) (annotate) - [select for diffs]
Added Tue Jun 20 07:58:33 2006 UTC (8 years, 7 months ago) by antcheva
Original Path: trunk/gui/src/TGTextEditor.cxx
File length: 29285 byte(s)
From Bertrand:
- new GUI class TGTextEditor
  A simple text editor that uses the TGTextEdit widget.
  It provides all functionalities of TGTextEdit as copy, paste, cut,
  search, go to a given line number. In addition, it provides the
  possibilities for compiling, executing or interrupting a
  running macro.

This class can be used in following ways:
- with file name as argument:
 new TGTextEditor("hsimple.C");

- with a TMacro* as argument:
  TMacro *macro = new TMacro("hsimple.C");
  new TGTextEditor(macro);

This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.

  Diffs between and
  Type of Diff should be a

Sort log by:

Subversion Admin
ViewVC Help
Powered by ViewVC 1.0.9