1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-30 20:35:38 +02:00
cdt/plugins
Václav Kadlčík 3ee6618da1 Bug 517358 - RFE: method to read TextCanvas content
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>
2017-06-02 10:24:02 +02:00
..
org.eclipse.tm.terminal.connector.cdtserial Bug 516330 - Uprev all features to 4.3 and introduce Maven -Pcdtserial 2017-05-16 11:47:00 +02:00
org.eclipse.tm.terminal.connector.local Bug 516330 - Uprev all features to 4.3 and introduce Maven -Pcdtserial 2017-05-16 11:47:00 +02:00
org.eclipse.tm.terminal.connector.process Bug 516330 - Uprev all features to 4.3 and introduce Maven -Pcdtserial 2017-05-16 11:47:00 +02:00
org.eclipse.tm.terminal.connector.remote Bug 516330 - Uprev all features to 4.3 and introduce Maven -Pcdtserial 2017-05-16 11:47:00 +02:00
org.eclipse.tm.terminal.connector.serial Bug 516330 - Uprev all features to 4.3 and introduce Maven -Pcdtserial 2017-05-16 11:47:00 +02:00
org.eclipse.tm.terminal.connector.ssh Bug 516330 - Uprev all features to 4.3 and introduce Maven -Pcdtserial 2017-05-16 11:47:00 +02:00
org.eclipse.tm.terminal.connector.telnet Bug 516330 - Uprev all features to 4.3 and introduce Maven -Pcdtserial 2017-05-16 11:47:00 +02:00
org.eclipse.tm.terminal.control Bug 517358 - RFE: method to read TextCanvas content 2017-06-02 10:24:02 +02:00
org.eclipse.tm.terminal.test Bug 516330 - Uprev all features to 4.3 and introduce Maven -Pcdtserial 2017-05-16 11:47:00 +02:00
org.eclipse.tm.terminal.view.core Bug 516330 - Uprev all features to 4.3 and introduce Maven -Pcdtserial 2017-05-16 11:47:00 +02:00
org.eclipse.tm.terminal.view.ui Bug 516330 - Uprev all features to 4.3 and introduce Maven -Pcdtserial 2017-05-16 11:47:00 +02:00
org.eclipse.tm.terminal.view.ui.rse Bug 516330 - Uprev all features to 4.3 and introduce Maven -Pcdtserial 2017-05-16 11:47:00 +02:00