mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-30 20:35:38 +02:00
![]() Teach TextCanvas to provide all the text contained: getAllText(). The actual change takes place on the level of ITextCanvasModel (interface) and AbstractTextCanvasModel (implementation); TextCanvas just redirects the request there. One bit of the existing code has been refactored: part of AbstractTextCanvasModel.extractSelectedText() has been extracted into a separate method - scrubLine() - so it can be reused in the new code. The primary (and probably the only one) use case of this new extension is test automation: SWTBot- or Red Deer-based tests can read content of TextCanvas instances and verify that they contain what's expected, e.g. output of Docker containers or gdb sessions. Change-Id: I92092c0f9837639d13d6bc32ae5b47acd24c54c1 Signed-off-by: Václav Kadlčík <vkadlcik@redhat.com> |
||
---|---|---|
.. | ||
org.eclipse.tm.terminal.connector.cdtserial | ||
org.eclipse.tm.terminal.connector.local | ||
org.eclipse.tm.terminal.connector.process | ||
org.eclipse.tm.terminal.connector.remote | ||
org.eclipse.tm.terminal.connector.serial | ||
org.eclipse.tm.terminal.connector.ssh | ||
org.eclipse.tm.terminal.connector.telnet | ||
org.eclipse.tm.terminal.control | ||
org.eclipse.tm.terminal.test | ||
org.eclipse.tm.terminal.view.core | ||
org.eclipse.tm.terminal.view.ui | ||
org.eclipse.tm.terminal.view.ui.rse |