diff options
author | 2007-10-06 20:53:02 -0400 | |
---|---|---|
committer | 2007-10-06 20:53:02 -0400 | |
commit | 5852a19d38a84a7cddc717dc5aa64bff0c92bd8f (patch) | |
tree | 067db9dd07afdd629c3f67db835ddc6fc2e8d4f5 /core/events.lua | |
parent | a87821f93d5a6cf08c28059c6846a6f794f29d4c (diff) | |
download | textadept-5852a19d38a84a7cddc717dc5aa64bff0c92bd8f.tar.gz textadept-5852a19d38a84a7cddc717dc5aa64bff0c92bd8f.zip |
Added textadept.print function that prints to the error buffer.
Diffstat (limited to 'core/events.lua')
-rw-r--r-- | core/events.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/core/events.lua b/core/events.lua index 13a41077..f9f6d484 100644 --- a/core/events.lua +++ b/core/events.lua @@ -477,3 +477,5 @@ function error(...) end pcall( handle_error, unpack{...} ) -- prevent endless loops if this errors end + +textadept.print = error |