Ok...I can faithfully reproduce this now.

1) I open a brand new .clp file (i.e. TestAddText.clp) to my project.

2) Paste the following lines into the file:

(defrule test-rule
    "Demonstrate a file that can't be appended"
    =>
    (assert (cannot-append)))

NOTE: Do not add any trailing newlines.  The EOF must be at the end of
the (assert...) line.

3) Select the entire file contents.

4) Invoke the Eclipse Source->Toggle Comment command to commend out all
lines.

5) Move the cursor to the end of the last line and hit RETURN.

On my system, nothing happens.  I do not get a newline, and I can no
longer append to the file.  If I uncomment the lines I can append just
fine.

I am using Jess 7.0a5, with Eclipse 3.0.1.  If it matters, I also use
the 'emacs' editing mode.

-Mitch

--------------------------------------------------------------------
To unsubscribe, send the words 'unsubscribe jess-users [EMAIL PROTECTED]'
in the BODY of a message to [EMAIL PROTECTED], NOT to the list
(use your own address!) List problems? Notify [EMAIL PROTECTED]
--------------------------------------------------------------------

Reply via email to