Commit Graph

3 Commits

Author SHA1 Message Date
Danny Tuppeny ee62e577dd [dtd] Add a common definition for an editor event for tracking active position changes
Allows other tools to know where the user is currently active.

Change-Id: If32fa9514d79730a2e41763c529c5fdeacaa0127
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/392908
Commit-Queue: Brian Wilkerson <brianwilkerson@google.com>
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
Reviewed-by: Elliott Brooks <elliottbrooks@google.com>
2025-04-07 09:44:19 -07:00
Helin Shiah aa08d0643e Add theme change event
Change-Id: Ie64b1181a87361dc10426d2941dfcac5e334c7b2
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/384322
Reviewed-by: Kenzie Davisson <kenzieschmoll@google.com>
Commit-Queue: Helin Shiah <helinx@google.com>
2024-09-10 18:34:14 +00:00
Danny Tuppeny 74bd539d4d [dtd] Add editor service definitions as used by sidebar
This adds additional "Editor" service method definitions as used by the new DTD sidebar. I moved the Editor service definitions into a new file (because they're now quite large and dtd_common_services seems better as an intro and list of the common specified services).

I also split the existing info about `navigateToCode` into a more terse definition (in the new file) and a general example. I also updated the error example as I believe it was incorrectly wrapped in `result`.

Change-Id: I6136eb550cce0dab86d535db02f9f06ee42892e0
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/378141
Reviewed-by: Kenzie Davisson <kenzieschmoll@google.com>
Reviewed-by: Ben Konyi <bkonyi@google.com>
Reviewed-by: Helin Shiah <helinx@google.com>
Commit-Queue: Ben Konyi <bkonyi@google.com>
2024-08-08 20:02:55 +00:00