Post reply

Warning: this topic has not been posted in for at least 120 days.
Unless you're sure you want to reply, please consider starting a new topic.
Name:
Email:
Subject:
Message icon:

Verification:
Type the letters shown in the picture
Listen to the letters / Request another image

Type the letters shown in the picture:
What is the last letter in the word "SlickEdit":
How many LETTERS are in the following? "a1b2c3":
Which number is missing?  "12345689":

shortcuts: hit alt+s to submit/post or alt+p to preview


Topic Summary

Posted by: ronburk
« on: September 06, 2006, 04:09:07 AM »

Thanks for the additional tips!
Posted by: Graeme
« on: September 02, 2006, 11:39:49 PM »


There is the VSCALLBACK_AR_BUF_TEXT_CHANGE callback  -  dunno if it works though.
I use a timer for this - works fine for me.

You could also modify the _update_mod_file_status in bufftabs.e or the _as_callback function in autosave.e to add a call to your own function.

Graeme
Posted by: ronburk
« on: September 02, 2006, 08:11:09 PM »

Right now, just the typical: "Save" button is enabled/disabled
to indicate whether there are unsaved changes in the
Editor Control.

I considered the "hook every dang thing" approach, but worried
I would miss some route to modifying the buffer. So now I poll
the p_modify flag with a timer (ugh). Hard to decide which evil
is lesser.

It seems very strange to have an on_change event for other
object times and not for the Editor Control.

On the bright side, I found there is an xml_mode() method
for Editor Controls, even though no such method appears in
the documentation.
Posted by: ronburk
« on: September 02, 2006, 05:22:49 PM »

There doesn't seem to be an on_change event for Editor Controls.
How do I, well, detect when a change has been made?