From 28a73bcf0fe6fa9cd97e50734fb243c625284a89 Mon Sep 17 00:00:00 2001 From: mitchell <70453897+orbitalquark@users.noreply.github.com> Date: Sat, 19 Sep 2020 13:18:44 -0400 Subject: Added `ui.update()` for unit tests. --- modules/lua/ta_api | 1 + 1 file changed, 1 insertion(+) (limited to 'modules/lua/ta_api') diff --git a/modules/lua/ta_api b/modules/lua/ta_api index cbae5347..6a7faa4e 100644 --- a/modules/lua/ta_api +++ b/modules/lua/ta_api @@ -947,6 +947,7 @@ typeover_chars textadept.editing.typeover_chars (table)\nTable of characters to ui _G.ui (module)\nUtilities for interacting with Textadept's user interface. undo buffer.undo(buffer)\nUndoes the most recent action.\n@param buffer A buffer. unsplit view.unsplit(view)\nUnsplits the view if possible, returning `true` on success.\n@param view The view to unsplit.\n@return boolean if the view was unsplit or not. +update ui.update()\nProcesses pending GTK events, including reading from spawned processes.\nThis function is primarily used in unit tests. upper lexer.upper (pattern)\nA pattern that matches any upper case character ('A'-'Z'). upper_case buffer.upper_case(buffer)\nConverts the selected text to upper case letters.\n@param buffer A buffer. use_tabs buffer.use_tabs (bool)\nUse tabs instead of spaces in indentation. Changing the current setting\ndoes not convert any of the buffer's existing indentation. Use\n`textadept.editing.convert_indentation()` to do so.\nThe default value is `true`. -- cgit v1.2.3