Log On
Embarcadero Home
Watch, Follow, &
Connect with Us
Share This
QualityCentral
Communities
Articles
Blogs
Resources
Downloads
Help
QualityCentral
Delphi Prism
Compatibility
Compiler
Database
Debugger
Demos
Documentation
IDE
Code Editor
Dialogs
Project Management
VS Integration
Install
International Enabling
Other
Suggestion
You are not logged in.
Help
Print
Public Report
Report From:
Delphi Prism/IDE
[ Add a report in this area ]
Report #:
81389
Status:
Open
Uneditable unit bug: Edit buffer for a .pas file has no syntax highlighting and editing is crippled.
Project:
Embarcadero Prism
Build #:
3.0.21.661
Version:
1.1
Submitted By:
Phil Gilmore
Report Type:
Basic functionality failure
Date Reported:
1/21/2010 10:31:23 AM
Severity:
Serious / Highly visible problem
Last Updated:
3/20/2012 2:24:39 AM
Platform:
All platforms
Internal Tracking #:
274636
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
Uneditable unit bug:
This happens in many other circumstances but this is the first case I came up with that's reproducible.
I don't know if this is ever an intended "mode" of the editor, but it certainly isn't desirable whenever I encounter it.
When reproduced, the edit buffer for a certain .pas file:
Has no syntax highlighting.
Backspace does not work.
Arrow keys do not work.
Enter key does not work (no carriage return)
Steps to Reproduce:
Uneditable unit bug:
This happens in many other circumstances but this is the first case I came up with that's reproducible.
I don't know if this is ever an intended "mode" of the editor, but it certainly isn't desirable whenever I encounter it.
1 - Create a new console application. Name it QCTest.
2 - Add a new class, name it Class1.
3 - CTRL-SHIFT-S to save all.
4 - Highlight Class1 in Solution Explorer and press the DEL key on the keyboard. Select REMOVE from the popup dialog.
5 - CTRL-SHIFT-S to save all. Class1.pas should still exist on disk.
6 - Add a new class, name it Class2.
7 - CTRL-SHIFT-S to save all.
7 - Highlight Class2 in Solution Explorer and press the DEL key on the keyboard. Select DELETE from teh popup dialog.
DO NOT SAVE THE SOLUTION.
Class2 should no longer exist on disk or in the solution.
8 - From the File menu, close the solution. Do not save.
9 - Re-open the solution. Class2 should appear as a missing resource in Solution Explorer.
10 - Highlight Class2 in the Solution Explorer and press the DEL key on the keyboard. Select DELETE from the popup dialog. You will see another popup telling you that the file was not found and could not be deleted, as expected. Click OK to clear this dialog.
11 - Right-click the project in Solution Explorer and add an existing resource. Select the Class1.pas file.
12 - Double-click the Class1.pas file in Solution Explorer to edit it.
Class1.Pas:
Has no syntax highlighting.
Backspace does not work.
Arrow keys do not work.
Enter key does not work (no carriage return)
Workarounds
Close solution, re-open solution and re-open the file in question.
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