This site requires JavaScript, please enable it in your browser!
Greenfoot back
iordanissavgm
iordanissavgm wrote ...

3 days ago

Creating documentation

iordanissavgm iordanissavgm

3 days ago

#
Hi. Why when I write comments for documentation (/** .... */) the text I write stops when a dot (.) is encountered? How can I write more sentences that will be displayed in the docs?
danpost danpost

3 days ago

#
iordanissavgm wrote...
Hi. Why when I write comments for documentation (/** .... */) the text I write stops when a dot (.) is encountered? How can I write more sentences that will be displayed in the docs?
Examples:
/** one-liner */

/**
 *  line 1
 *  line 2
 *  multi-liner
 */

// one line limited (carriage return ends commented line)
To make things easy:, you can start with:
/**
and press "ENTER" as needed to start a multi-line comment.
iordanissavgm iordanissavgm

2 days ago

#
It doesn't work for the rest of the text, if a dot is found anywhere in these comments
danpost danpost

2 days ago

#
iordanissavgm wrote...
It doesn't work for the rest of the text, if a dot is found anywhere in these comments
That is not normal behavior. I tested it with one of my scenarios and the documentation in Chrome HTML has no problems showing the dot (period or decimal point) in the text -- and stuff after it within the same comment. My only suggestion is to try an older version to see if that resolves the issue.
iordanissavgm iordanissavgm

2 days ago

#
I use the latest version. The previous one had some issues with the Enum statement that i use, which the latest one doesn't.
iordanissavgm iordanissavgm

2 days ago

#
I use the latest version. The previous one had some issues with the Enum statement that i use, which the latest one doesn't.
iordanissavgm iordanissavgm

2 days ago

#
I use the greek locale on my pc, if that matters. But even if i added a dot in the GifImage english code comments, the issue remains. Maybe a bug fix should be on its way.
You need to login to post a reply.