trichview.support
Re: AddNL |
Author |
Message |
Sergey Tkachenko |
Posted: 04/21/2002 9:42:55 I do not remember that I made any changes in this method... Well, there was one change - empty text item was always displayed from the new line, even if it was added with ParaNo=-1 (because that considered as incorrect documents). New beta version displays empty text items in the way as specified in their ParaNos (so it now works with empty text items just like with other items) No changes were made regarding non-text or non-empty text items: - if ParaNo=-1, AddNL adds a new item to the last paragraph, without starting a new line; - if ParaNo>=0, AddNL either starts a new paragraph, or a new line inside the last paragraph, depending on a mode set by SetAddParagraphMode. > Though correct in previous version of RV, I used RichView1.AddNL(..., PTN), > where PTN is a positive variable integer, to begin a new paragraph as the > helpfile did say that the method always begins with a new paragraph. Newer > version 1.6.25 do not let it begin with a new paragraph and does nothing. So > I reverted to SetAddParagraphMode method which should be the ideal method. > The problem has been solved. > > I prefer the wrapped option to be always true and thanks so much for your > clue. > > > Probably it was a coincidence - text was wrapped at the same place at you > > expected. > > > > > > > |
Powered by ABC Amber Outlook Express Converter