{"action":"created","issue":{"url":"https://api.github.com/repos/matkuki/ExCo/issues/22","repository_url":"https://api.github.com/repos/matkuki/ExCo","labels_url":"https://api.github.com/repos/matkuki/ExCo/issues/22/labels{/name}","comments_url":"https://api.github.com/repos/matkuki/ExCo/issues/22/comments","events_url":"https://api.github.com/repos/matkuki/ExCo/issues/22/events","html_url":"https://github.com/matkuki/ExCo/issues/22","id":344280907,"node_id":"MDU6SXNzdWUzNDQyODA5MDc=","number":22,"title":"Is ExCo suitable for embedding in another application?","user":{"login":"flutefreak7","id":2966015,"node_id":"MDQ6VXNlcjI5NjYwMTU=","avatar_url":"https://avatars0.githubusercontent.com/u/2966015?v=4","gravatar_id":"","url":"https://api.github.com/users/flutefreak7","html_url":"https://github.com/flutefreak7","followers_url":"https://api.github.com/users/flutefreak7/followers","following_url":"https://api.github.com/users/flutefreak7/following{/other_user}","gists_url":"https://api.github.com/users/flutefreak7/gists{/gist_id}","starred_url":"https://api.github.com/users/flutefreak7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flutefreak7/subscriptions","organizations_url":"https://api.github.com/users/flutefreak7/orgs","repos_url":"https://api.github.com/users/flutefreak7/repos","events_url":"https://api.github.com/users/flutefreak7/events{/privacy}","received_events_url":"https://api.github.com/users/flutefreak7/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-07-25T03:39:33Z","updated_at":"2018-07-28T05:52:09Z","closed_at":null,"author_association":"NONE","body":"I'm building an application that has a file editor component which I'd like to have decent notepad like functionality (with highlighting and expected features like find and replace). I think I can do it with QsciScintilla and my own lighter QsciScintilla-based widget, but I wonder if I could save effort by starting with Ex.Co?\r\n\r\nIs Ex.Co suitable for embedding in a larger application? Is there too much global state and application code that might conflict with my own application? Does your license allow me to canabalize chunks of your code if I liked your find/replace widgets for example? \r\n\r\nThank you for building such a great tool!\r\n\r\nThanks!"},"comment":{"url":"https://api.github.com/repos/matkuki/ExCo/issues/comments/408585108","html_url":"https://github.com/matkuki/ExCo/issues/22#issuecomment-408585108","issue_url":"https://api.github.com/repos/matkuki/ExCo/issues/22","id":408585108,"node_id":"MDEyOklzc3VlQ29tbWVudDQwODU4NTEwOA==","user":{"login":"flutefreak7","id":2966015,"node_id":"MDQ6VXNlcjI5NjYwMTU=","avatar_url":"https://avatars0.githubusercontent.com/u/2966015?v=4","gravatar_id":"","url":"https://api.github.com/users/flutefreak7","html_url":"https://github.com/flutefreak7","followers_url":"https://api.github.com/users/flutefreak7/followers","following_url":"https://api.github.com/users/flutefreak7/following{/other_user}","gists_url":"https://api.github.com/users/flutefreak7/gists{/gist_id}","starred_url":"https://api.github.com/users/flutefreak7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flutefreak7/subscriptions","organizations_url":"https://api.github.com/users/flutefreak7/orgs","repos_url":"https://api.github.com/users/flutefreak7/repos","events_url":"https://api.github.com/users/flutefreak7/events{/privacy}","received_events_url":"https://api.github.com/users/flutefreak7/received_events","type":"User","site_admin":false},"created_at":"2018-07-28T05:52:09Z","updated_at":"2018-07-28T05:52:09Z","author_association":"NONE","body":"I'm building a fairly big customized GUI to wrap an analysis code. Much of the GUI is widgets to control analysis input settings and 2D and 3D plots/visualizations to help the user set up the analysis.  All the settings are written to an input file for the actual analysis code. Rather than assume my GUI can do everything, I figured I would bake a text editor in as a fallback. So far I am using QsciScintilla as the editor component and enjoying the simliarity of features that it has with Notepad++ which I normally use to edit these files.\r\n\r\nBecause of my use case, I don't think I'll be able to use Ex.Co directly.\r\n\r\nI think Ex.Co will be a great source of inspiration when I go to add things like a find and replace dialog or other similar features that are expected in a simple text editor.\r\n\r\nI'm also having issues with Syntax Highlighting bogging it down.  My file has multiple contexts unfortunately and so I got the bright idea to parse the entire file in a separate python function that uses tons of regexes and returns a dictionary of styles.  Each style key in the dictionary contains a list of every character location that requires that style.  The CustomLexer simply calls the python function and then loops through the file 1 character at a time applying the appropriate styles by checking which style the character belongs to.  It's so ugly, I'm kinda shocked it runs as fast as it does!  I'm not sure I have the experience to do what you've done with Cython lexers and I might need to leverage a faster regex library or something.\r\n\r\nDo you know of a way to control how often the editor triggers the lexer?  Can I control it with a custom signal?"}}
{"actor":{"display_login":"flutefreak7"}}