Watch, Follow, &
Connect with Us
Public Report
Report From: Delphi-BCB/IDE/Refactoring/Extract Resourcestring    [ Add a report in this area ]  
Report #:  26861   Status: Open
When breaking strings across lines, do a better job picking spots
Project:  Delphi Build #:  10.0.2251.38234
Version:    10.0 Submitted By:   Randy Magruder
Report Type:  New Feature Request Date Reported:  3/31/2006 11:39:10 AM
Severity:    Commonly encountered problem Last Updated: 10/18/2011 5:54:21 PM
Platform:    All platforms Internal Tracking #:  
Resolution: Duplicate (Resolution Comments) Resolved in Build: : None
Duplicate of:  2012
Voting and Rating
Overall Rating: No Ratings Yet
0.00 out of 5
Total Votes: None
Description
Right now things like SQL Queries are broken up right in the middle of the identifiers, making the multiline strings unreadable.
Please add code to try to break the lines at the nearest non alphanumeric character to preserve the readability of the string.

Steps to Reproduce:
try to break a long SQL String

SQL.Text := 'Select   IN01_BTN,IN01_ACCT_ID,IN01_TOTAL_AMOUNT_DUE,IN01_TERMS,   IN01_EARLY_PAY_DATE,IN01_EARLY_PAY_DISC_AMOUNT,CU01_CO_NAME, CU01_FST_NAME,CU01_LST_NAME,CU01_ADD1,CU01_ADD2,CU01_CITY, CU01_STATE,CU01_ZIP From   IN01,CU01 Where  IN01_INVC_NUM = :INVCAND  CU01_BTN = IN01_BTNAND   CU01_ACCT_ID = IN01_ACCT_ID';

into a resourcestring.
Workarounds
None
Attachment
None
Comments

Stephan Plath at 10/17/2011 4:36:31 AM -
This report is marked as "Duplicate" and the "Duplicate of" field says "none". So where can I find the duplicated report?

Tomohiro Takahashi at 10/18/2011 5:55:10 PM -
This request is duplicate of QC#2012, which is still Open.

Tomohiro Takahashi at 10/17/2011 5:57:02 AM -
Thanks for the notification. I will check the internal status of this report.

Server Response from: ETNACODE01