Using the help 'Getting started on writing plugins' to write my first plugin, and I noticed that my first attempt at including a newline character in my text didn't work!
Guidance clearly states you just simply add /n in your string to produce.
This should read \n
Can't believe this hasn't been mentioned before, if so, why has no-one corrected the Guide?
EDIT There seems to be a consistency of using /n in the text, but then show \n in code
* Typo in Plugin Guide
Typo in Plugin Guide
Mike Loney
Website http://www.loney.tribalpages.com
http://www.mickloney.tribalpages.com
Website http://www.loney.tribalpages.com
http://www.mickloney.tribalpages.com
- tatewise
- Megastar
- Posts: 27082
- Joined: 25 May 2010 11:00
- Family Historian: V7
- Location: Torbay, Devon, UK
- Contact:
Re: Typo in Plugin Guide
Mike, please report those FH Tools > Plugins > How to Write Plugins Help page mistakes to Calico Pie support.
I found four occurrences:
I found four occurrences:
- How to Write Plugins
- 3. Calculate a Birth Year in EXERCISE
4. How Many People in my File near the bottom
- iup.GetText in PARAMETERS
iup.Message in PARAMETERS
- 3. Calculate a Birth Year in EXERCISE
Mike Tate ~ researching the Tate and Scott family history ~ tatewise ancestry
Re: Typo in Plugin Guide
Will do
Mike Loney
Website http://www.loney.tribalpages.com
http://www.mickloney.tribalpages.com
Website http://www.loney.tribalpages.com
http://www.mickloney.tribalpages.com