Click here to Skip to main content
15,888,968 members
Home / Discussions / C#
   

C#

 
AnswerRe: 'using' vs fully qualified types Pin
PIEBALDconsult18-Aug-07 9:52
mvePIEBALDconsult18-Aug-07 9:52 
GeneralRe: 'using' vs fully qualified types Pin
Colin Angus Mackay18-Aug-07 13:32
Colin Angus Mackay18-Aug-07 13:32 
GeneralRe: 'using' vs fully qualified types Pin
Mark Churchill18-Aug-07 16:10
Mark Churchill18-Aug-07 16:10 
GeneralRe: 'using' vs fully qualified types Pin
PIEBALDconsult18-Aug-07 18:37
mvePIEBALDconsult18-Aug-07 18:37 
AnswerRe: 'using' vs fully qualified types Pin
PIEBALDconsult18-Aug-07 18:53
mvePIEBALDconsult18-Aug-07 18:53 
QuestionProblem with text editor - Plz Help( need badly) Pin
Hum Dum17-Aug-07 22:07
Hum Dum17-Aug-07 22:07 
AnswerRe: Problem with text editor - Plz Help( need badly) Pin
Christian Graus17-Aug-07 22:42
protectorChristian Graus17-Aug-07 22:42 
AnswerRe: Problem with text editor - Plz Help( need badly) Pin
Luc Pattyn18-Aug-07 0:22
sitebuilderLuc Pattyn18-Aug-07 0:22 
Hi,

some suggestions:

1.
when showing code, put it in PRE tags so it preserves indentation; as it is,
it is very hard to read.

2.
your code does not compile; it has:
- a String.Split with lower-case
- the line int currentLine Length = 0; is invalid
- a mismatch in { and }
etc

3.
you are trying to do word wrap yourself; why don't you use LastIndexOf(' ',maxLength)
where maxLength is your linewidth limit, to find where the offending word begins?

4.
you have a lot of \r\n; I believe in RTB a single \n is what is required for
line breaks. It is my guess those \r will be turned somehow into spaces,
resulting in some of the phenomena you are experiencing.


The above list is not complete.

Smile | :)



Luc Pattyn [Forum Guidelines] [My Articles]


this weeks tips:
- make Visual display line numbers: Tools/Options/TextEditor/...
- show exceptions with ToString() to see all information
- before you ask a question here, search CodeProject, then Google


QuestionHow to Access Main Class in Inner Class ... Pin
Doug.Chen17-Aug-07 21:43
Doug.Chen17-Aug-07 21:43 
AnswerRe: How to Access Main Class in Inner Class ... Pin
Hessam Jalali17-Aug-07 22:00
Hessam Jalali17-Aug-07 22:00 
AnswerRe: How to Access Main Class in Inner Class ... Pin
Christian Graus17-Aug-07 22:44
protectorChristian Graus17-Aug-07 22:44 
AnswerRe: How to Access Main Class in Inner Class ... Pin
Luc Pattyn18-Aug-07 0:26
sitebuilderLuc Pattyn18-Aug-07 0:26 
Questiontool tip in Close box Pin
topksharma198217-Aug-07 21:16
topksharma198217-Aug-07 21:16 
QuestionNo overload for method 'Open' takes '13' arguments.... Pin
shafikshafik17-Aug-07 20:49
shafikshafik17-Aug-07 20:49 
AnswerRe: No overload for method 'Open' takes '13' arguments.... Pin
Christian Graus17-Aug-07 20:57
protectorChristian Graus17-Aug-07 20:57 
AnswerRe: No overload for method 'Open' takes '13' arguments.... Pin
Luc Pattyn18-Aug-07 0:26
sitebuilderLuc Pattyn18-Aug-07 0:26 
QuestionImporting xsd Pin
dnlstffrd17-Aug-07 19:57
dnlstffrd17-Aug-07 19:57 
QuestionRe:Displaying child windows Pin
RameshwerE17-Aug-07 19:34
RameshwerE17-Aug-07 19:34 
AnswerRe:Displaying child windows Pin
Rocky#17-Aug-07 19:50
Rocky#17-Aug-07 19:50 
AnswerRe:Displaying child windows Pin
Christian Graus17-Aug-07 20:14
protectorChristian Graus17-Aug-07 20:14 
AnswerRe:Displaying child windows Pin
Doug.Chen17-Aug-07 21:54
Doug.Chen17-Aug-07 21:54 
QuestionRe:Displaying child windows Pin
Doug.Chen17-Aug-07 21:59
Doug.Chen17-Aug-07 21:59 
AnswerRe:Displaying child windows Pin
Hessam Jalali17-Aug-07 22:10
Hessam Jalali17-Aug-07 22:10 
Questionbinpath Pin
sima_m17-Aug-07 19:28
sima_m17-Aug-07 19:28 
AnswerRe: binpath Pin
Paul Conrad18-Aug-07 3:25
professionalPaul Conrad18-Aug-07 3:25 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.