Code Monkey home page Code Monkey logo

notebook's People

Contributors

eranif avatar mtangoo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

notebook's Issues

Migration questions

Hi Eran,
I want to migrate my app to the notebook but I have questions

  1. Is this the same as CL notebook?
  2. Is API compatible with Aui notebook?
    Thanks

Unable to compile your Notebook due to some errors

The year is 2019, am using vs 2019, wxwidgets 3.12, c++11 and unfortunately I cant get to compile my project with your project. I am getting the following errors on my end:

Error	LNK2019	unresolved external symbol "public: void __thiscall wxXmlResource::AddHandler(class wxXmlResourceHandler *)" (?AddHandler@wxXmlResource@@QAEXPAVwxXmlResourceHandler@@@Z) referenced in function "public: __thiscall Notebook::Notebook(class wxWindow *,int,class wxPoint const &,class wxSize const &,long,class wxString const &)" (??0Notebook@@QAE@PAVwxWindow@@HABVwxPoint@@ABVwxSize@@JABVwxString@@@Z)	MyApp	D:\cpp\MyApp\MyApp\Notebook.obj	1	
Error	LNK2019	unresolved external symbol "public: class wxBitmap __thiscall wxXmlResource::LoadBitmap(class wxString const &)" (?LoadBitmap@wxXmlResource@@QAE?AVwxBitmap@@ABVwxString@@@Z) referenced in function "public: virtual void __thiscall clTabInfo::Colours::InitDarkColours(void)" (?InitDarkColours@Colours@clTabInfo@@UAEXXZ)	MyApp	D:\cpp\MyApp\MyApp\Notebook.obj	1	
Error	LNK2019	unresolved external symbol "public: static class wxXmlResource * __cdecl wxXmlResource::Get(void)" (?Get@wxXmlResource@@SAPAV1@XZ) referenced in function "public: virtual void __thiscall clTabInfo::Colours::InitDarkColours(void)" (?InitDarkColours@Colours@clTabInfo@@UAEXXZ)	MyApp	D:\cpp\MyApp\MyApp\Notebook.obj	1	
Error	LNK2001	unresolved external symbol "public: static class wxXmlResource * __cdecl wxXmlResource::Get(void)" (?Get@wxXmlResource@@SAPAV1@XZ)	MyApp	D:\cpp\MyApp\MyApp\notebook_bitmaps.obj	1	
Error	LNK2019	unresolved external symbol "public: __thiscall wxBitmapXmlHandler::wxBitmapXmlHandler(void)" (??0wxBitmapXmlHandler@@QAE@XZ) referenced in function "public: __thiscall Notebook::Notebook(class wxWindow *,int,class wxPoint const &,class wxSize const &,long,class wxString const &)" (??0Notebook@@QAE@PAVwxWindow@@HABVwxPoint@@ABVwxSize@@JABVwxString@@@Z)	MyApp	D:\cpp\MyApp\MyApp\Notebook.obj	1	
Error	LNK2019	unresolved external symbol "public: bool __thiscall wxXmlResource::Load(class wxString const &)" (?Load@wxXmlResource@@QAE_NABVwxString@@@Z) referenced in function "void __cdecl Notebook_Init_Bitmaps(void)" (?Notebook_Init_Bitmaps@@YAXXZ)	MyApp	D:\cpp\MyApp\MyApp\notebook_bitmaps.obj	1	
Error	LNK1120	5 unresolved externals	MyApp	D:\cpp\MyApp\MyApp\vc_mswud\MyApp.exe	1	

m_tabCtrl is private

I wanted to access m_tabCtrl so that I can calculate current tab index and found its private and so unavailable in my current class. Is there specific reason or its just a bug?

Sync with CL Notebook

Hi,
I can see more updates have been done in CL for Notebook than in this.
Will it be allowed for me to port back changes in form of PR from CodeLite to this repo?
I ask because notebook in CodeLite have different license attached than this one.

Thanks

Fixed width Tab

Sometimes I open files with long names and it makes it terrible. If its not very demanding can you add fixed tabs style? If it a lot of work, can you point me to the right direction to do that?

Right Click (Context) menu on non selected Item

I find this troubling, especially in CodeLite, and since it s originating here, I thought I would open issue here.
Sometimes I want to do something (like right click -> close) the tab that isn't active, but I find I have to select it before I get context menu.
Is it possible to have both world (or in case I missed, any options). I want to implement in my app using this control and also would love to see it back in CodeLite!

Memory leak from undeleted Renderers

I have found that there is a memory leak from each clRenderer because they are created by "new" and stored by pointer in ms_Renderers, but are never deleted.

I have new code that fixes the issue when the Notebook goes out of scope, but I can't fork and PR because I get 403 forbidden accessing your repository.

Here are the changes I made.

  1. clTabRenderer.h : public: static void DeleteRenderers(void) { for (auto& r : ms_Renderes) delete r.second; }
  2. Notepad.cpp : Notebook::~Notebook() { clTabRenderer::DeleteRenderers(); }

That's it. It works.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.