Home › Forums › eaDocX queries › Blank Space and Tabs in Description Fields
Home › Forums › eaDocX queries › Blank Space and Tabs in Description Fields
- This topic has 11 replies, 3 voices, and was last updated 13 years, 6 months ago by
eadocX Support.
-
AuthorPosts
-
4 April 2012 at 2:56 pm #5928
Paul Whiston
ParticipantI have been putting some “pseudo code” in my sceanrio descriptions but when the document is generated it seems to strip out any whitespace at the start of a line. I would like to suppress that. Any ideas.
5 April 2012 at 10:10 am #5929eadocX Support
ParticipantThis is related to the way that EA saves this text, and how it makes it available at the API. Sometimes it adds suprious, invisible whitespace , expecially when the text has been copy/pasted from other tools.
So, we remove it – it usually gives better results. Except in your case.
Not a great solution, but you might add the psedo-code into a tagged value ?5 April 2012 at 12:40 pm #5930Paul Whiston
ParticipantThanks for the reply – a real pity. This has somewhat soured my otherwise good evaluation. 🙁
The EA Document generator manages it but lacks the flexibility I need
-
This reply was modified 13 years, 6 months ago by
Paul Whiston.
5 April 2012 at 1:00 pm #5932eadocX Support
ParticipantOK – looking at it now – it’s not quite doing what I remember – Generator seems to be ignoring CRLFs as well.. 🙁
5 April 2012 at 1:32 pm #5933Paul Whiston
ParticipantI’m not having trouble with CRLFs which seem to be reproduced.
I have tried putting a “.” at the front of every line but its still suppresses multiple white spaces to a single space.
If I type my steps into structured spec – how do I get those to reproduce in the document as currently this doesn’t work for me.
Thanks5 April 2012 at 1:49 pm #5934eadocX Support
ParticipantHa! Found it.
It’s my old friend, the Word HTML interface – ‘helping’ by removing leading blanks. Just added to make sure it gets the point.Fixed now- just building & uploading – look for v2.2.1.04 on eaDocX.com shortly – might take a while, as my internet seems to have knocked-off for the holidays…
5 April 2012 at 2:41 pm #5935Paul Whiston
ParticipantWhat was this fix supposed to do?
I now have little “o” between each word where spaces are. This hasn’t changed my leading whitespace problem or am I going to have to live with that?
5 April 2012 at 3:42 pm #5936eaDocX Web Support Team
ParticipantSorry about that. The fix didn’t behave exactly as expected.
We have removed v2.2.1.04 from the download page and re-published v2.2.1.3.
We will keep working on it and update this string as soon as a new version is available.
11 April 2012 at 8:16 am #5937Paul Whiston
ParticipantTrying to work around my problem to put in pseudo code in scenario steps and output those but I’ve been unsuccesful in getting the steps printed.
I have a column “Scenario steps” and in the column is “(steps)”
I really don’t want to put it in as a “tag” as earlier suggested
11 April 2012 at 8:55 am #5938eadocX Support
ParticipantI have a fix ready now for the problem of missing-out leading blanks. I assume that the blanks are needed so that your pseudo-code is sensibly indented – but are the chars blanks or tabs? I’ve only done the fix for blanks, as EA doesn’t let us add tab chars into description fields, but if your psedo-code is being copied-in from somewhere else, it might have tabs as well.
If you only have blanks, let me know, and I’ll put the fixed version onto eadocx.com this morning.Thanks
11 April 2012 at 9:05 am #5939Paul Whiston
ParticipantI have used tabs (allowed if you use CTRL-TAB keys together) but I can change those to spaces easily – in fact its probably better as tabs seem to be 8 chars could do with saving space.
Thanks for all your efforts.
11 April 2012 at 9:44 am #5940eadocX Support
ParticipantFix is now available as 2.2.1.05
Thanks -
This reply was modified 13 years, 6 months ago by
-
AuthorPosts
- You must be logged in to reply to this topic.
Download a free trial
Download eaTeamWorks today for several free for life features, plus no obligation, 30-day trials of all the products: eaDocX, ea Revision Manager, eaSheets, Model Expert and PortfolioManager. Discover for yourself why we sell the world’s best-selling Enterprise Architect extension.
Download