Bug 55600 - JSyntaxTextArea : Strange behaviour on first undo
JSyntaxTextArea : Strange behaviour on first undo
Status: RESOLVED FIXED
Product: JMeter
Classification: Unclassified
Component: Main
Nightly (Please specify date)
All All
: P2 normal (vote)
: ---
Assigned To: JMeter issues mailing list
:
Depends on:
Blocks:
  Show dependency tree
 
Reported: 2013-09-26 21:44 UTC by Philippe Mouawad
Modified: 2013-09-27 22:13 UTC (History)
1 user (show)



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Philippe Mouawad 2013-09-26 21:44:00 UTC
I noticed a behaviour which seems strange:
Create a JSR223 Sampler and put some code in it, save Test Plan, close it, reopen it.

Now hit CTRL +Z then everything is cleaned up. This seems very strange to me.

I opened 
https://github.com/bobbylight/RSyntaxTextArea/issues/21

But I think it could be fixed by calling discardAllEdits() after setText()

Affects nightly as of 26 september 2013
Comment 1 Philippe Mouawad 2013-09-27 22:06:30 UTC
Date: Fri Sep 27 22:05:34 2013
New Revision: 1527098

URL: http://svn.apache.org/r1527098
Log:
Bug 55600 - JSyntaxTextArea : Strange behaviour on first undo
Bugzilla Id: 55600

Modified:
    jmeter/trunk/src/components/org/apache/jmeter/assertions/gui/BeanShellAssertionGui.java
    jmeter/trunk/src/core/org/apache/jmeter/config/gui/RowDetailDialog.java
    jmeter/trunk/src/core/org/apache/jmeter/gui/util/JSyntaxTextArea.java
    jmeter/trunk/src/core/org/apache/jmeter/testbeans/gui/TextAreaEditor.java
Comment 2 Philippe Mouawad 2013-09-27 22:11:54 UTC
Date: Fri Sep 27 22:08:01 2013
New Revision: 1527100

URL: http://svn.apache.org/r1527100
Log:
Bug 55600 - JSyntaxTextArea : Strange behaviour on first undo
Bugzilla Id: 55600

Modified:
    jmeter/trunk/src/components/org/apache/jmeter/assertions/gui/XPathPanel.java
    

Date: Fri Sep 27 22:10:59 2013
New Revision: 1527102

URL: http://svn.apache.org/r1527102
Log:
Bug 55600 - JSyntaxTextArea : Strange behaviour on first undo
Bugzilla Id: 55600

Modified:
    jmeter/trunk/src/protocol/java/org/apache/jmeter/protocol/java/control/gui/BeanShellSamplerGui.java
    jmeter/trunk/src/protocol/tcp/org/apache/jmeter/protocol/tcp/config/gui/TCPConfigGui.java
Comment 3 Philippe Mouawad 2013-09-27 22:13:56 UTC
Date: Fri Sep 27 22:12:53 2013
New Revision: 1527104

URL: http://svn.apache.org/r1527104
Log:
Bug 55600 - JSyntaxTextArea : Strange behaviour on first undo
Bugzilla Id: 55600

Modified:
    jmeter/trunk/xdocs/changes.xml