Commit Graph

12 Commits

Author SHA1 Message Date
Jamie Dale
7dfea2d544 Fixed a crash when the TSF IME API tried to get the selected text from SOutputLog
FOutputLogTextLayoutMarshaller::GetText wasn't implemented, so it was always returning an empty string. I've implemented this and verified that it doesn't cause any performance issues for the output log.

I had to change SMultiLineEditableText::LoadText to only do that when it was bound to a delegate, as that was causing a hitch while the output log was updated when you gave it focus.

I also fixed giving the output log focus sometimes jumping to the top of the log (SMultiLineEditableText::OnKeyboardFocusReceived needed the same fix as SMultiLineEditableText::OnKeyboardFocusLost to prevent the cursor jumping into focus).

ReviewedBy Justin.Sargent

[CL 2308259 by Jamie Dale in Main branch]
2014-09-24 09:59:43 -04:00
Jamie Dale
22f0534844 Removed Tick() from SOutputLog
It wasn't actually needed as we're able to perform the scroll immediately in all cases we need to, rather than wait until the next Tick().

#codereview Max.Preussner

[CL 2306688 by Jamie Dale in Main branch]
2014-09-23 06:03:13 -04:00
Jamie Dale
6da78431f0 Some usability improvements for the output log
1) The selected text colour is now easier on the eyes
2) The output log will always scroll to the end when you enter a command
3) The output log will now correctly scroll to the bottom when it is first opened (it forces the scrollbars to always visible to avoid the horizontal scrollbar being able to move the vertical scrollbar up slightly from the bottom of the log)

ReviewedBy Andrew.Rodham

[CL 2305438 by Jamie Dale in Main branch]
2014-09-22 09:46:08 -04:00
Jamie Dale
57f0bee6b0 Fixed auto-scrolling not working after clearing the output log
ReviewedBy Rob.Jones

[CL 2298082 by Jamie Dale in Main branch]
2014-09-15 09:30:39 -04:00
Jamie Dale
80b7d7a258 Converted SOutputLog to use a multiline editable text control to show its log output
This is using a custom text marshaller to efficiently convert an FLogMessage into something understood by the FTextLayout.

ReviewedBy Justin.Sargent

[CL 2297960 by Jamie Dale in Main branch]
2014-09-15 07:10:02 -04:00
Matt Kuhlenschmidt
a75d1ba1c6 Console can be opened anywhere in the editor by pressing tilde (~). This is shortcut is rebindable.
[CL 2284536 by Matt Kuhlenschmidt in Main branch]
2014-09-04 10:49:55 -04:00
Matt Kuhlenschmidt
e16c656e93 Some tweaks to minimize horizontal scrollbar artifacts in the output log.
[CL 2267403 by Matt Kuhlenschmidt in Main branch]
2014-08-22 10:04:10 -04:00
Matt Kuhlenschmidt
b8c7941fe3 Added horizontal scrolling to the output log.
[CL 2258783 by Matt Kuhlenschmidt in Main branch]
2014-08-15 22:45:05 -04:00
Michael Trepka
3293117f09 More fixes for Clang warnings
[CL 2238624 by Michael Trepka in Main branch]
2014-07-31 15:43:08 -04:00
UnrealBot
db494a6e69 Engine source (Main branch up to CL 2037954) 2014-04-02 18:09:23 -04:00
TimSweeney
3a75fe0114 Engine source (Main branch up to CL 2027006) 2014-03-15 01:14:25 -04:00
Tim Sweeney
324683ce78 Engine source (Main branch up to CL 2026164) 2014-03-14 14:13:41 -04:00