Page MenuHome

Texts in Outliner dont activate
ClosedPublic

Authored by Philipp Oeser (lichtwerk) on Sep 6 2021, 4:50 PM.

Details

Summary

Texts in Outliner dont activate on selecting (Text Editor did not change
to selected text) which is a bit inconsistent to other ID types.

ref T90862

Diff Detail

Repository
rB Blender

Event Timeline

Philipp Oeser (lichtwerk) requested review of this revision.Sep 6 2021, 4:50 PM
Philipp Oeser (lichtwerk) created this revision.
Philipp Oeser (lichtwerk) planned changes to this revision.Sep 6 2021, 4:51 PM

Need to deplicate code from editsource_text_edit

source/blender/editors/space_outliner/outliner_select.c
745–754

What I meant in D12347 is that this code is duplicated from editsource_text_edit(). But I'd rather see them share a function (ED_text_activate_in_screen() or so).

Personally I think it's fine to use the biggest area. Not great (most users don't understand what's going on from what I heard), but it has become a common pattern by now.

This revision is now accepted and ready to land.Sep 29 2021, 11:21 AM
This revision was automatically updated to reflect the committed changes.