Opened 13 years ago

Closed 6 years ago

#6 closed defect (invalid)

Text mode is broken in that it doesn't honor line breaks

Reported by: Gregg Young Owned by: Alfredo Fernández Díaz
Priority: minor Milestone: Release_1.1
Component: eFTE core Version: PreRelease_1.0
Keywords: Cc: Alfredo Fernández Díaz

Description

Paste in a column then hit a key at the end of one of the lines the line below move up to the present line. I have had other issue which I don't clearly remember. This probably needs a complete rework.

Change History (10)

comment:1 Changed 13 years ago by Gregg Young

Component: eFTE coreConfiguration

comment:2 Changed 9 years ago by Gregg Young

It isn't actually broken. Text mode is set to auto by default. This setting continuously wraps a paragraph. It tells paragraphs by having a blank line between them. Deleting the end of line char with wrap on behaves oddly. It moves the text from the line below up to the current line even if the line then exceeds 80. I have to enter char (space works) to get it to rewrap. However in auto mode if the deletion concatenates the last word of the current line with the first word of the next line both word will wrap.

comment:3 Changed 9 years ago by Gregg Young

Component: ConfigurationeFTE core

comment:4 Changed 9 years ago by Gregg Young

Milestone: Release_1.0
Owner: set to Gregg Young
Status: newassigned

comment:5 Changed 9 years ago by Gregg Young

Version: PreRelease_1.0

comment:6 Changed 9 years ago by Gregg Young

Status: assignedaccepted

comment:7 Changed 8 years ago by Gregg Young

Milestone: Release_1.0Release_1.1

comment:8 Changed 6 years ago by Alfredo Fernández Díaz

Cc: Alfredo Fernández Díaz added

[Not actually broken. Also: a setting with different defaults for .TXT files / all others]

I just tried this, and it works exactly like old FTE. From the reference (current text):

"WordWrap {0,1,2} If set to 1, the editor will wrap the current line when the right margin is reached. If set to 2, the current paragraph will be wrapped continuously. Paragraphs as recognized by WrapPara command must be separated by blank lines."

You cycle between the three values with C+O_C+W: 1 is 'source code' mode, i.e. all line breaks must be manually entered, 2 is for writing text word-processor-like style, re-flowing text all the time. 1 is for reformatting text while retaining control, so the difference between 1 and 2 is precisely whether lines joined by deleting from above are wrapped too or not.

Either that (behaves exactly as I expected) or I am totally mistaken - ?

I have documented this in the manual a bit more. Also, I will close this as 'invalid' (not actually broken) in a week if we get no further comments.

comment:9 Changed 6 years ago by Alfredo Fernández Díaz

Owner: changed from Gregg Young to Alfredo Fernández Díaz

comment:10 Changed 6 years ago by Gregg Young

Resolution: invalid
Status: acceptedclosed

I agree

Note: See TracTickets for help on using tickets.