Spacing in user end shows something is typed on development end?

0 votes
asked Jul 3 by Aurme (270 points)

Hello everyone, this question may have been answered somewhere, but do to how general the words are to ask my question, i haven't been able to find a topic on the specific situation.

I am using harlowe 2.1.0.
currently I am having an issue with spacing showing that something has been typed, even if it isn't visible when playing the game. specifically no matter what is typed on another bullet when creating a passage, it will show some amount of spacing when playing, even if this is a comment done as <!-- -->.

for example say we have a passage named Intro.

in it I have written: (the bullets i am using are just the natural bullets shown in the passage)

  • test
  • test2
this displays test on one line, and test 2 on the next
 
if i do
  • test
  • <!-- -->
  • test2
on the user end test and test2 will be spaced out more. this causes me problems as i try to type some macros inside a passage, it adds a lot of unnecessary spacing visible by the user.  for example when i wish to type a lot of (click:) macros.

I can circumvent this by making sure a new bullet isnt created and writing everything on one line, but this is bothersome to read on the development side. Is there another way I could fix this?

Thank you for your time.

1 Answer

0 votes
answered Jul 3 by JoshGrams (1,020 points)
selected Jul 3 by Aurme
 
Best answer

See the Harlowe documentation about collapsing whitespace and escaping line breaks.

Also a little bit of trivia: those "bullets" are the editor's "line numbers".  The people who wrote Twine decided that they didn't need line numbers but that it would be nice to have some sort of marker so you could tell if a line was an actual line created by the user or just text wrapping around because it hit the edge of the box.  If you type a long line you'll see that (so you've probably already noticed it...).

commented Jul 3 by greyelf (90,670 points)

The people who wrote Twine decided that they didn't need line numbers...

The styling and syntax highlighting used by the Passage Editor is controlled and implemented by each Story Format Developer, so the "bullets" effect being shown is a feature of Harlowe and not the Twine 2.x application itself.

Welcome to Twine Q&A, where you can ask questions and receive answers from other members of the community.

You can also find hints and information on Twine on the official wiki and the old forums archive.

See a spam question? Flag it instead of downvoting. A question flagged enough times will automatically be hidden while moderators review it.
...