Re: new line in textbuffer



On Thu, Jan 13, 2005 at 10:01:05 -0800, Mattos wrote:
> I have done a TextBuffer and now i can see the text in
> my text view. But if the string has \n. In the text
> view i saw:
> 
> Company : American Airline \n Plane : AIRBUS 320. I
> tried with \r \n but the exit is the same. What
> characters i need to jump to other line.

The ascii newline character (unicode codepoint 10). It will be produced
by C compiler upon seeing a '\n' escape sequence, but it will definitely
NOT be produced by reading that sequence from a file/database/anything.

-------------------------------------------------------------------------------
						 Jan 'Bulb' Hudec <bulb ucw cz>

Attachment: signature.asc
Description: Digital signature



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]