This is a test topic where TMCE eats new lines in some cases

See Bugs.Item4705

Edit it in TMCE and save.

Repeat the edit and save many times and see the topic become a Goofy topic.

Some test headline.

Below is what could be an example of C code

/* If Labeling enabled - locate center of largest labelgroup */
if (imgs->labelsize_max) {
    /* Locate largest labelgroup */
    for (y=0; y<height; y++) {
        for (x=0; x<width; x++) {
            if (*(labels++)&32768) {
                cent->x += x;
                cent->y += y;
                centc++;
            }
        }
    }
} else {

And now an example with text and table

These two options are defined like this

Option Function
pre_capture include images before first motion detect
post_capture append images after last motion detect

and in the config code you find this

{
    "pre_capture",
    "# Specifies the number of pre-captured (buffered) pictures from before motion\n"
    "# was detected that will be output at motion detection.\n"
    "# Recommended range: 0 to 5 (default: 0)\n"
    "# Do not use large values! Large values will cause Motion to skip video frames and\n"
    "# cause unsmooth mpegs. To smooth mpegs use larger values of post_capture instead.",
    CONF_OFFSET(pre_capture),
    copy_int,
    print_int
},
{
    "post_capture",
    "# Number of frames to capture after motion is no longer detected (default: 0)",
    CONF_OFFSET(post_capture),
    copy_int,
    print_int
},

More code right after headline

char *mystrcpy(char *to, const char *from)
{
    /* free the memory used by the to string, if such memory exists,
     * and return a pointer to a freshly malloc()'d string with the
     * same value as from.
     */

    if (to != NULL) 
        free(to);

    return mystrdup(from);
}

Some stuff protected by literal

This is a two row table
This is second row

  • TML bullet
  • Another TML bullet
  • Why not a 3rd one

Same but with text before

The text below is yellow

  • TML bullet
  • Another TML bullet
  • Why not a 3rd one

Plain text

Some text

Hej hej

Example that failed in Item4705

Tralala

Some text

Trala

Tralala

Some text

Trala


Tralala

Some text

Trala


Tralala lala

Some text

Trala

Literal after header

Some bold

Literal after table

Table Nice
23 45
56 52

Some bold

Literal after bullet

  • Bullet 1
  • Bullet 2

Some bold

-- KennethLavrsen - 24 Sep 2007

Topic attachments
I Attachment History Action Size Date Who Comment
Texttxt diff.txt r1 manage 1.9 K 2007-09-27 - 08:02 UnknownUser A diff of the raw view between rev 1 (before) and rev 2 (after saving several times in IE)
Edit | Attach | Watch | Print version | History: r4 < r3 < r2 < r1 | Backlinks | Raw View |  Raw edit | More topic actions
Topic revision: r4 - 2007-09-29 - KennethLavrsen
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2023 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback