haoxiang-xu / surface-editor

WebCodeEditor+LLMs is a state-of-the-art web-based Code Editor that leverages the power of large language models to assist in coding. By utilizing a vector database, it establishes intricate relationships between files and code segments.
0 stars 0 forks source link

`stack component` should not have premission to access `load_context_menu`, check and refactor the `stack frame` so to implement a second level function. #107

Closed haoxiang-xu closed 3 months ago

haoxiang-xu commented 3 months ago

function call happens at monaco_editor.js line 717

haoxiang-xu commented 3 months ago

sloved in stack_frame.js line 297

  const load_contextMenu = (e, contextStructure) => {
    load_context_menu(e, stack_component_unique_tag, contextStructure);
  };