This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 193485

Summary: Bug in Macro playback
Product: editor Reporter: riggerthegeek
Component: MacrosAssignee: Svata Dedic <sdedic>
Status: RESOLVED DUPLICATE    
Severity: normal Keywords: PLATFORM
Priority: P3    
Version: 7.0   
Hardware: PC   
OS: Windows 7   
Issue Type: DEFECT Exception Reporter:

Description riggerthegeek 2010-12-16 11:21:28 UTC
Product Version = NetBeans IDE 7.0 Beta (Build 201011152355)
Operating System = Windows 7 version 6.1 running on x86
Java; VM; Vendor = 1.6.0_22
Runtime = Java HotSpot(TM) Client VM 17.1-b03

I've found a bug in Macro playback.  I have recorded various Macros - one in particular is {echo '<pre>.print_r($, true).'</pre>';exit;} for PHP debug.  This prints correctly, but it doesn't move the cursor back to immediately after the dollar ($) sign as it did on NB 6.9.  The cursor ends up either at the end of the line or at the start of the line.

Not really found a common cause as to where it ends up, but it doesn't end up where it should.

The full Macro is below

"echo '<pre>'.print_r($, true).'</pre>';exit;" caret-backward caret-backward caret-backward caret-backward caret-backward caret-backward caret-backward caret-backward caret-backward caret-backward caret-backward caret-backward caret-backward caret-backward caret-backward caret-backward caret-backward caret-backward caret-backward caret-backward caret-backward caret-backward caret-backward caret-forward
Comment 1 Svata Dedic 2011-10-10 12:45:24 UTC

*** This bug has been marked as a duplicate of bug 199695 ***