Log On
Embarcadero Home
Watch, Follow, &
Connect with Us
Share This
QualityCentral
Communities
Articles
Blogs
Resources
Downloads
Help
QualityCentral
Delphi-BCB
IDE
Add Component Template
Background compile
Batch file target
Block Completion
Build Tools
Caliber
Class Completion
Class Explorer
Code Browsing
Code Completion
Code Editor
Code Explorer
Code Parameters
Code Templates
Compiler Message Window
Deployment Manager
Dialogs
Direct
Docking
File Browser
File Handling
Form Designer
Help
History View
IDE Insight
Memory Issues
Menu Designer
Menus
Module Manager
Multi-Monitor Support
Object Inspector
Object TreeView
Open Tools API
Packages
Performance
Printing
Project Explorer(old Object Browser)
Project Management
Refactoring
Repository
Save Desktop
Search
Start Page
Starteam
Startup/Shutdown
Structure Pane
System Resources
ToDoList
Tool Palette
Toolbars/Status Line
Translation Tools
Unit Testing
Version Control
VersionInfo
Views
Visual Form Inheritance
Workgroup(PVCS)
You are not logged in.
Help
Print
Public Report
Report From:
Delphi-BCB/IDE/Code Browsing
[ Add a report in this area ]
Report #:
97403
Status:
Open
Jumping interface <-> implementation does not work correct
Project:
Delphi
Build #:
15.0.3953.35171
Version:
15.1
Submitted By:
Mark Burgard
Report Type:
Basic functionality failure
Date Reported:
8/10/2011 6:26:52 AM
Severity:
Infrequently encountered problem
Last Updated:
3/20/2012 2:24:39 AM
Platform:
All versions
Internal Tracking #:
286169
Resolution:
None
(Resolution Comments)
Resolved in Build:
:
None
Duplicate of:
None
Voting and Rating
Overall Rating:
No Ratings Yet
0.00 out of 5
Total Votes:
None
Description
If a method, procedure or function starts with ";" no jumping from implementation to interface with [Shift]+[Ctrl]+[Cursor up] or [Shift]+[Ctrl]+[Cursor down] is possible.
Sample:
unit Unit2;
interface
type
TMyTest = class
procedure Test;
procedure DoesNotWorkToo;
end;
implementation
{ TMyTest }
procedure TMyTest.DoesNotWorkToo;
begin
;
Test;
end;
procedure TMyTest.Test;
begin
;
end;
end.
Steps to Reproduce:
1. create a new unit
2. type following code in interface:
type
TMyTest = class
procedure Test;
procedure DoesNotWorkToo;
end;
3. press [Shift]+[Ctrl]+[C] for code complete
4. press [Shift]+[Ctrl]+[Cursor up] or [Shift]+[Ctrl]+[Cursor down] and you jump between interface and implementation
5. write a ";" (Semikolon) between "begin" and "end;"
5. press [Shift]+[Ctrl]+[Cursor up] or [Shift]+[Ctrl]+[Cursor down] againt and nothing hapens :-(
You can always jump from interface down to implementation but not back !!!
Sample:
unit Unit2;
interface
type
TMyTest = class
procedure Test;
class procedure DoesNotWorkToo;
function x: boolean;
end;
procedure x;
implementation
procedure x;
begin
; // does not work
exit;
end;
{ TMyTest }
class procedure TMyTest.DoesNotWorkToo;
begin
// does not work
;;;;;;;;;;;;;
exit;
end;
procedure TMyTest.Test;
begin
// here it works fine ;
exit;
end;
function TMyTest.x: boolean;
begin
{$message hint 'does not work, because of the ; after message command'};
Result := False;
end;
end.
Workarounds
remove first ";" ;-)
Attachment
None
Comments
None
View Your Reports
Search
Server Response from: ETNACODE01
Developer Tools
Blackfish SQL
C++Builder
Delphi
FireMonkey
Prism
InterBase
JBuilder
J Optimizer
HTML5 Builder
3rdRail & TurboRuby
Database Tools
Change Manager
DBArtisan
DB Optimizer
ER/Studio
Performance Center
Rapid SQL
Technical Articles
Tutorials
White Papers
Press Releases
Newsletters
Add Content (GetPublished)
Audio
Audio & Video
Video
Bugs & Suggestions (QualityCentral)
Discussion Forums
Examples (CodeCentral)
Tags
Technology Partners
Downloads
Free Trials
Registered User Downloads
Beta Programs
Add Content (GetPublished)
Articles
Blogs
Bugs & Suggestions (QualityCentral)
Discussion Forums
Examples (CodeCentral)
Member Services
About
Connect with Us