Skip to content

Commit

Permalink
Added missing file (EditorLayoutBase.wxcp)
Browse files Browse the repository at this point in the history
Removed the live resize from Windows
Line highlight frame is now set to 1 pixel in width
  • Loading branch information
eranif committed Jul 11, 2024
1 parent 679b9d8 commit c56907d
Show file tree
Hide file tree
Showing 3 changed files with 1,273 additions and 3 deletions.
2 changes: 1 addition & 1 deletion LiteEditor/cl_editor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -765,7 +765,7 @@ void clEditor::SetProperties()
bool is_dark = IsDefaultFgColourDark(this);
SetCaretLineBackground(is_dark ? wxColour("GRAY") : wxColour("LIGHT GRAY"));
SetCaretLineBackAlpha(wxSTC_ALPHA_NOALPHA);
SetCaretLineFrame(2);
SetCaretLineFrame(1);
}
#else
SetCaretLineBackground(options->GetCaretLineColour());
Expand Down
9 changes: 7 additions & 2 deletions LiteEditor/frame.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5036,7 +5036,10 @@ void clMainFrame::OnRestoreDefaultLayout(wxCommandEvent& e)
void clMainFrame::SetAUIManagerFlags()
{
// Set the manager flags
unsigned int auiMgrFlags = wxAUI_MGR_TRANSPARENT_HINT | wxAUI_MGR_HINT_FADE | wxAUI_MGR_LIVE_RESIZE;
unsigned int auiMgrFlags = wxAUI_MGR_TRANSPARENT_HINT | wxAUI_MGR_HINT_FADE;
#if defined(__WXMAC__) || defined(__WXGTK__)
auiMgrFlags |= wxAUI_MGR_LIVE_RESIZE;
#endif
m_mgr.SetFlags(auiMgrFlags);
}

Expand Down Expand Up @@ -5454,7 +5457,9 @@ void clMainFrame::OnSettingsChanged(wxCommandEvent& e)
m_mainFrameTitleTemplate = clConfig::Get().Read(kConfigFrameTitlePattern, wxString("$workspace $fullpath"));
}

void clMainFrame::OnDetachEditor(wxCommandEvent& e) { /*GetMainBook()->DetachActiveEditor();*/ }
void clMainFrame::OnDetachEditor(wxCommandEvent& e)
{ /*GetMainBook()->DetachActiveEditor();*/
}

void clMainFrame::OnDetachEditorUI(wxUpdateUIEvent& e) { e.Enable(GetMainBook()->GetActiveEditor() != NULL); }

Expand Down
Loading

0 comments on commit c56907d

Please sign in to comment.