Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/JacquesLucke/code_autocomplete
/ get_active_text_block
Function
get_active_text_block
modal_handler.py:534–535 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
532
return
min(max(value, min_value), max_value)
533
534
def
get_active_text_block():
535
return
TextBlock(bpy.context.space_data.text)
536
537
def
is_event_in_text_editor(event):
538
area = get_area_under_mouse(event)
Callers
3
simplify_work_operators
Method · 0.85
draw
Method · 0.85
selected_operator
Method · 0.85
Calls
1
TextBlock
Class · 0.90
Tested by
no test coverage detected