regex.tscn 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  1. [gd_scene load_steps=2 format=2]
  2. [ext_resource path="res://regex.gd" type="Script" id=1]
  3. [node name="VBoxContainer" type="VBoxContainer" index="0"]
  4. anchor_left = 0.0
  5. anchor_top = 0.0
  6. anchor_right = 1.0
  7. anchor_bottom = 1.0
  8. rect_pivot_offset = Vector2( 0, 0 )
  9. mouse_filter = 1
  10. mouse_default_cursor_shape = 0
  11. size_flags_horizontal = 1
  12. size_flags_vertical = 1
  13. alignment = 0
  14. script = ExtResource( 1 )
  15. _sections_unfolded = [ "Size Flags" ]
  16. [node name="Expression" type="LineEdit" parent="." index="0"]
  17. anchor_left = 0.0
  18. anchor_top = 0.0
  19. anchor_right = 0.0
  20. anchor_bottom = 0.0
  21. margin_right = 1024.0
  22. margin_bottom = 24.0
  23. rect_pivot_offset = Vector2( 0, 0 )
  24. focus_mode = 2
  25. mouse_filter = 0
  26. mouse_default_cursor_shape = 1
  27. size_flags_horizontal = 1
  28. size_flags_vertical = 1
  29. text = "\"((?:\\\\.|[^\"])*)\""
  30. focus_mode = 2
  31. context_menu_enabled = true
  32. placeholder_alpha = 0.6
  33. caret_blink = false
  34. caret_blink_speed = 0.65
  35. caret_position = 0
  36. _sections_unfolded = [ "Size Flags" ]
  37. [node name="Text" type="TextEdit" parent="." index="1"]
  38. anchor_left = 0.0
  39. anchor_top = 0.0
  40. anchor_right = 0.0
  41. anchor_bottom = 0.0
  42. margin_top = 28.0
  43. margin_right = 1024.0
  44. margin_bottom = 328.0
  45. rect_min_size = Vector2( 0, 300 )
  46. rect_pivot_offset = Vector2( 0, 0 )
  47. focus_mode = 2
  48. mouse_filter = 0
  49. mouse_default_cursor_shape = 0
  50. size_flags_horizontal = 1
  51. size_flags_vertical = 1
  52. text = ""
  53. readonly = false
  54. highlight_current_line = false
  55. syntax_highlighting = false
  56. show_line_numbers = false
  57. highlight_all_occurrences = false
  58. override_selected_font_color = false
  59. context_menu_enabled = true
  60. smooth_scrolling = false
  61. v_scroll_speed = 80.0
  62. hiding_enabled = 0
  63. wrap_lines = false
  64. caret_block_mode = false
  65. caret_blink = false
  66. caret_blink_speed = 0.65
  67. caret_moving_by_right_click = true
  68. _sections_unfolded = [ "Rect", "Size Flags" ]
  69. [node name="List" type="VBoxContainer" parent="." index="2"]
  70. anchor_left = 0.0
  71. anchor_top = 0.0
  72. anchor_right = 0.0
  73. anchor_bottom = 0.0
  74. margin_top = 332.0
  75. margin_right = 1024.0
  76. margin_bottom = 332.0
  77. rect_pivot_offset = Vector2( 0, 0 )
  78. mouse_filter = 1
  79. mouse_default_cursor_shape = 0
  80. size_flags_horizontal = 1
  81. size_flags_vertical = 1
  82. alignment = 0
  83. _sections_unfolded = [ "Rect", "Size Flags" ]
  84. [connection signal="text_changed" from="Expression" to="." method="update_expression"]
  85. [connection signal="text_changed" from="Text" to="." method="update_text"]