﻿id	summary	reporter	owner	description	type	status	milestone	component	version	severity	resolution	keywords	cc
2273	Long strings are cropped at hypen or whitespace in edit controls	mwnn@…		"If a string contains a hyphen or whitespace and the string is longer than the width of an edit control, then this string gets cropped right after the hyphen or whitespace.

Here's a short example. A full example is attached.

{{{
$str = ""C:\Temp\Outbox\AutoIt_GUICtrlSetData\AB123-4567CDExyF08.ini""
$edit = GUICtrlCreateEdit("""", 10, 10, 320, 19, $ES_READONLY + $ES_WANTRETURN)
GUICtrlSetData($edit, $str)
}}}


The string will be displayed as:
{{{
+--------------------------------------------------------+
|C:\Temp\Outbox\AutoIt_GUICtrlSetData\AB123-             |
+--------------------------------------------------------+
}}}

although there is more free space left in the edit control.

Replacing the hyphen with an underscore is shown as:
{{{
+--------------------------------------------------------+
|C:\Temp\Outbox\AutoIt_GUICtrlSetData\AB123_4567CDExyF08.|
+--------------------------------------------------------+
}}}

As you can see, the string is displayed until the end of the edit control in the 2nd working example."	Bug	closed		AutoIt	3.3.8.1	None	No Bug		
