summaryrefslogtreecommitdiff
path: root/indra/llui/lltexteditor.cpp
AgeCommit message (Collapse)Author
2024-02-13Add help() function to Lua "builtins."Nat Goodspeed
help() with no argument lists all our viewer builtins. help(function, function, ...) shows help text for each named function. Each argument can be either a string or the function in question (e.g. help(help)). To support Lua-related text containing line breaks, make LLTextEditor:: pasteTextWithLinebreaks() a public template method. Change the existing implementation, which specifically accepts (const LLWString&), into its LLWString specialization. The generic template passes llconvert(arg) to that specialization, the one real implementation. Make LLFloaterLUADebug methods call pasteTextWithLinebreaks() instead of insertText(), which ignores newline characters. To allow help() to accept an actual function as well as a string name, add a lookup-by-function-pointer map to LuaFunction. (A Lua function does not store a name.) Make the constructor store an entry in the new lookup map as well as in the original registry map. Change LuaFunction::getRegistry() and getRegistered() to getState() and getRState(), respectively. Each returns a std::pair, but the first binds non-const references while the second binds const references.
2024-02-12WIP: Changes towards supporting Lua console help text.Nat Goodspeed
2022-10-19Fix menu leaks and lazy creation in text editing and scroll listsRye Mutt
2019-08-10DRTVWR-493 LLUI to LLParamSingletonandreykproductengine
2018-11-30SL-10145 Right clicking on unselected link in editor near selected text ↵andreykproductengine
shows wrong menu
2018-04-03MAINT-8431 FIXED HTTP URL in the object name is represented as a hyperlink ↵maxim_productengine
in inventory offer
2017-03-22MAINT-6404 FIXED When pasting from Mac Word into a notecard, line break is ↵Mnikolenko Productengine
replaced by ?
2016-05-06merge 4.0.4-release and MAINT-5974Oz Linden
2016-03-24MAINT-6214 Unable to add a space before closing curly brace in chatbar, ↵andreykproductengine
notecards & scripts.
2016-03-07merge DRTVWR-398 build cleanup fixesOz Linden
2015-11-10remove execute permission from many files that should not have itOz Linden
2015-07-30merge changes for other open sourc contributionsOz Linden
2015-04-13merge changes for 3.7.27-releaseOz Linden
2015-03-13MAINT-4973 FIXED Clicking on the green part of links (as opposed to the ↵Mnikolenko ProductEngine
grey) opens the wrong link in all places apart from in a conversation window or chat toast.
2014-12-28STORM-2094 Save button not activated if spelling corrected in Notecard and ↵Jonathan Yap
no other changes made
2014-12-10Rename llround(..) to ll_round(..) because of a collision with MS llround ↵callum_linden
(long long round) in VS2013
2014-12-09MAINT-3648 FIXED Allow opening URLs when any text is selected.Mnikolenko ProductEngine
2014-08-28MAINT-3967 FIXED Up arrow key does not move the cursor up in chat field.andreykproductengine
Reverted previous two fixes and modified LLTextBase::changeLine()
2014-08-28MAINT-3967 FIXED Up arrow key does not move the cursor up in chat field.andreykproductengine
Reverted previous two fixes and modified LLTextBase::changeLine()
2014-07-07Merge downstream code and become 3.7.12simon
2014-07-07Merge viewer-release and become version 3.7.12simon
2014-06-18MAINT-3967 FIXED Up arrow key does not move the cursor up in chat field.maksymsproductengine
2014-06-18Merge downstream codesimon
2014-06-17Merge viewer-release and become version 3.7.9simon
2014-06-16merge changes for 3.7.9-releaseOz Linden
2014-06-07Merge upstreamCinder
2014-06-05MergeRicky Curtice
2014-05-19Pull and merge from ssh://hg@bitbucket.org/lindenlab/viewer-release.Stinson Linden
2014-05-14Refactor more script editor properties away from LLTextEditor to LLScriptEditorCinder
2014-05-07Merge downstream version 3.7.8 codesimon
2014-05-07correct bad merges from 3.7.7-releaseOz Linden
2014-05-07Pull and merge viewer-release as version 3.7.8simon
2014-05-07MAINT-3967 FIXED Up arrow key does not move the cursor up in chat field.maksymsproductengine
2014-05-05MAINT-4009: Patching a small memory leak for when menu items were being ↵Stinson Linden
created before the viewer window initialization had created the menu holder. Also, added llasserts in other cases when referencing the menu holder to ensure the holder is non-null.
2014-04-18Move some more script editor functions from LLTextEditor to LLScriptEditorCinder
2014-04-18Begin moving script editor portions of LLTextEditor to their own derived class.Cinder
This should fix the run off segment bugs by not overriding LLTextBase::clearSegments() in LLTextEditor TODO: Move the rest of the script stuff out of LLTextEditor for simplicity sake
2014-03-14merge changes for 3.7.3-releaseOz Linden
2014-03-12merge with releaseRichard Linden
2014-03-06MAINT-3610 FIXED SL viewer partly 'eats' chat-messagesmaksymsproductengine
2014-02-06Adding clear methods to remove any highlighting.Ima Mechanique
2014-02-18Pull in viewer-lion to lock down next releasesimon
2014-02-14[MAINT-3555] Crash in LLPanel::~LLPanel() on shutdownBaker Linden
- Added clear() after DeletePointer() call to hopfully fix this...
2014-01-20MAINT-3618 FIXED Don't copy spaces after cursor to the next line.maxim@mnikolenko
2013-11-18merge changes for STORM-1831Oz Linden
2013-11-11Automated merge with http://bitbucket.org/lindenlab/viewer-releaseRichard Linden
2013-11-10Refactoring load routines to remove uneeded methodsIma Mechanique
2013-10-15renamed TimeBlock to BlockTimerStatHandleRichard Linden
2013-10-04Merge v3.6.7 inIma Mechanique
2013-09-09merge with viewer-releaseRichard Linden
2013-09-05changed fast timer over to using macroRichard Linden
another attempt to move mem stat into base class