Closed Alexey-T closed 4 years ago
lexer is made, PyMOL.
Hi Alex,
Thank you for your interest in developing a PyMOL lexer for cudatext. I have not start this one yet, so you are most welcome to charge ahead with it. The easiest path forward may be to install the program SynWrite on Windows or with wine on linux or Mac OS, and make the lexer with SynWrite. The lexers developed in SynWrite work in cudatext, but you cannot write lexers with cudatext in cudatext. See http://wiki.freepascal.org/CudaText\#How_to_create_distributive_of_new_lexer
You can use some of my lexers as guides (See attached). I developed a lexer for gedit that colors differently 353 commands and 662 settings the PyMOL Macro language (pymol.lang). The lexer colors digits, parentheses, and mathematical operators differently too. It was tedious to assemble.
I also developed a lexer for nano by starting with a Python nano lexer and adapting it with code from the gedit lexer. This nano lexer took only a few hours to assemble.
Best regards,
Blaine
On Thu, Oct 3, 2019 at 4:17 AM Alexey notifications@github.com wrote:
I want to help and make this lexer. You can help too- by testing the lexer, when it’s ready. What do you think.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/MooersLab/pymolsnips/issues/2?email_source=notifications&email_token=ADTZEC6VKH2E4RKSBN7BFULQMW2EBA5CNFSM4I5AQBE2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HPLDUTQ, or mute the thread https://github.com/notifications/unsubscribe-auth/ADTZECZTIR4I2BKQO3ZLK53QMW2EBANCNFSM4I5AQBEQ .
-- Best regards,
Blaine
Blaine Mooers, Ph.D. Associate Professor Department of Biochemistry and Molecular Biology College of Medicine University of Oklahoma Health Sciences Center S.L. Young Biomedical Research Center Rm. 466 975 NE 10th Street https://maps.google.com/?q=975+NE+10th+Street&entry=gmail&source=g, BRC 466 Oklahoma City, OK 73104-5419
office: (405) 271-8300 lab: (405) 271-8313
Faculty webpage http://basicsciences.ouhsc.edu/biochemmolbiol/Faculty/bio_details/TabId/11753/ArtMID/30702/ArticleID/6430/Mooers-Blaine-HM-PhD.aspx X-ray lab (LBSF) http://research.ouhsc.edu/CoreFacilities/LaboratoryofBiomolecularStructureandFunction.aspx SSRL UEC https://www-ssrl.slac.stanford.edu/content/about-ssrl/advisory-panels/ssrl-users-organization/members/ssrluo-2016-executive-committee-members SSURF EasyPyMOL https://github.com/MooersLab/EasyPyMOL Molecular Graphics https://www.oumedicine.com/docs/default-source/ad-biochemistry-workfiles/moleculargraphicslinks.html
https://www.oumedicine.com/docs/default-source/ad-biochemistry-workfiles/MolecularGraphicsLinks.html Small Angle Scattering http://www.oumedicine.com/docs/default-source/ad-biochemistry-workfiles/small-angle-scattering-links-27aug2014.html?sfvrsn=0 office: (405) 271-8300 lab: (405) 271-8313 e-mail: blaine-mooers@ouhsc.edu (or bmooers1@gmail.com)
Cudatext lexer is made and published in AddonManager. Example
Please post "bugs" of lexer for valid PML files, if you want to test it. create the topic at https://github.com/alexey-t/cudatext/issues
Hi Alexey,
I tested the lexer and the snippet library in a fresh install of Cudatext. All is good now! Thank you very much for making the lexer!
Best regards,
Blaine Mooers
On Sat, Oct 5, 2019 at 1:11 PM Alexey notifications@github.com wrote:
Please post "bugs" of lexer for valid PML files, if you want to test it., create the topic at https://github.com/alexey-t/cudatext/issues
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/MooersLab/pymolsnips/issues/2?email_source=notifications&email_token=ADTZEC4DPOLANELHZOD3BL3QNDKF5A5CNFSM4I5AQBE2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEANYPZY#issuecomment-538675175, or mute the thread https://github.com/notifications/unsubscribe-auth/ADTZEC62YVJUSQU3NZHGSX3QNDKF5ANCNFSM4I5AQBEQ .
-- Best regards,
Blaine
Blaine Mooers, Ph.D. Associate Professor Department of Biochemistry and Molecular Biology College of Medicine University of Oklahoma Health Sciences Center S.L. Young Biomedical Research Center Rm. 466 975 NE 10th Street https://maps.google.com/?q=975+NE+10th+Street&entry=gmail&source=g, BRC 466 Oklahoma City, OK 73104-5419
office: (405) 271-8300 lab: (405) 271-8313
Faculty webpage http://basicsciences.ouhsc.edu/biochemmolbiol/Faculty/bio_details/TabId/11753/ArtMID/30702/ArticleID/6430/Mooers-Blaine-HM-PhD.aspx X-ray lab (LBSF) http://research.ouhsc.edu/CoreFacilities/LaboratoryofBiomolecularStructureandFunction.aspx SSRL UEC https://www-ssrl.slac.stanford.edu/content/about-ssrl/advisory-panels/ssrl-users-organization/members/ssrluo-2016-executive-committee-members SSURF EasyPyMOL https://github.com/MooersLab/EasyPyMOL Molecular Graphics https://www.oumedicine.com/docs/default-source/ad-biochemistry-workfiles/moleculargraphicslinks.html
https://www.oumedicine.com/docs/default-source/ad-biochemistry-workfiles/MolecularGraphicsLinks.html Small Angle Scattering http://www.oumedicine.com/docs/default-source/ad-biochemistry-workfiles/small-angle-scattering-links-27aug2014.html?sfvrsn=0 office: (405) 271-8300 lab: (405) 271-8313 e-mail: blaine-mooers@ouhsc.edu (or bmooers1@gmail.com)
I want to help and make this lexer. You can help too- by testing the lexer, when it’s ready. What do you think.