www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.dwt - dwtx.jface.preference.PreferenceStore issue

reply yidabu <yidabu.spam gmail.com> writes:
dwtx.jface.preference.PreferenceStore

line 113:
                        case 't': c = '\t'; break;
                        case 'n': c = '\n'; break;
                        case '\\': c = '\\'; break;

should be:
                        case 't': c = '\t'; break;
			case 'r': c = '\r'; break;
                        case 'n': c = '\n'; break;
                        case '\\': c = '\\'; break;

for use MultiLineTextFieldEditor on Windows.


-- 
yidabu <yidabu.spam gmail.com>
http://www.dsource.org/projects/dwin

D -(D Chinese):
http://www.d-programming-language-china.org/
http://bbs.d-programming-language-china.org/
http://dwin.d-programming-language-china.org/
http://scite4d.d-programming-language-china.org/
Nov 14 2008
parent Frank Benoit <keinfarbton googlemail.com> writes:
yidabu schrieb:
 dwtx.jface.preference.PreferenceStore
 
 line 113:
                         case 't': c = '\t'; break;
                         case 'n': c = '\n'; break;
                         case '\\': c = '\\'; break;
 
 should be:
                         case 't': c = '\t'; break;
 			case 'r': c = '\r'; break;
                         case 'n': c = '\n'; break;
                         case '\\': c = '\\'; break;
 
 for use MultiLineTextFieldEditor on Windows.
 
 

Done in http://www.dsource.org/projects/dwt-addons/changeset/193%3Aa785420fe9ca Thanks
Nov 15 2008