Raised This Month: $32 Target: $400
 8% 

[Editor] Sublime AMXX-Editor v2.2


Post New Thread Reply   
 
Thread Tools Display Modes
Destro-
Veteran Member
Join Date: Jun 2010
Location: $me->location();
Old 07-18-2016 , 22:01   Re: [Editor] Sublime AMXX-Editor v1.8
Reply With Quote #31

v1.9 release, bugs fixed
__________________
Destro- is offline
Depresie
Veteran Member
Join Date: Nov 2013
Old 07-19-2016 , 04:31   Re: [Editor] Sublime AMXX-Editor v1.9
Reply With Quote #32

Thanks, will try
__________________
Depresie is offline
Nixon133
Junior Member
Join Date: Jan 2014
Old 07-20-2016 , 07:52   Re: [Editor] Sublime AMXX-Editor v1.9
Reply With Quote #33

Will it be possible to turn off the code for {} ?
Nixon133 is offline
Old 08-10-2016, 20:59
addons_zz
This message has been deleted by addons_zz. Reason: nvm
addons_zz
Veteran Member
Join Date: Aug 2015
Location: Dreams, zz
Old 08-15-2016 , 20:19   Re: [Editor] Sublime AMXX-Editor v1.9
Reply With Quote #34

Hello @Destro-,

I am learning your regex on 'AMXX-Pawn.sublime-syntax', and I do not understand why the following regex:
Code:
  ########################################################

  # "PAWN Comments"
  pawn_coment:
    - match: ^/\* =(\s*.*?)\s*= \*/$\n?
      scope: comment.block.pawn
      captures:
        1: meta.toc-list.banner.block.pawn
I tested it and looks like it only match things like this: ( https://regex101.com/r/tF2hV5/2)
Code:
irrelevant
/* =                                                                
                                                                    
                                                                    
  This is the only line where text is allowed. Why such rule?       
                                                                    
                                                                = */
irrelevant
__________________
Plugin: Sublime Text - ITE , Galileo
Multi-Mod: Manager / Plugin / Server

Support me on Patreon, Ko-fi, Liberapay or Open Collective

Last edited by addons_zz; 08-15-2016 at 20:20. Reason: misspelling
addons_zz is offline
Mistrick
Senior Member
Join Date: Aug 2012
Location: Russia
Old 08-19-2016 , 19:38   Re: [Editor] Sublime AMXX-Editor v1.9
Reply With Quote #35

My changed Dark Theme. Just replace file in amxmodx.sublime-package
Spoiler


Something wrong with loading const highlight. When I launch ST3 after 1 sec I get const highlight only for first file. And not every file can get highlight. I mean enum and define.

Code:
Traceback (most recent call last):
  File "D:\Soft\Programming\sublime_amxx-editor_1.9\sublime_plugin.py", line 231, in run_callback
    expr()
  File "D:\Soft\Programming\sublime_amxx-editor_1.9\sublime_plugin.py", line 314, in <lambda>
    run_callback('on_selection_modified', callback, lambda: callback.on_selection_modified(v))
  File "AMXXEditor in D:\Soft\Programming\sublime_amxx-editor_1.9\Packages\amxmodx.sublime-package", line 127, in on_selection_modified
  File "AMXXEditor in D:\Soft\Programming\sublime_amxx-editor_1.9\Packages\amxmodx.sublime-package", line 166, in inteltip_function
KeyError: 'D:\\GitHub\\DeathrunMod\\deathrun_mode_duel.sma'
Code:
Traceback (most recent call last):
  File "./python3.3/threading.py", line 901, in _bootstrap_inner
  File "AMXXEditor in D:\Soft\Programming\sublime_amxx-editor_1.9\Packages\amxmodx.sublime-package", line 484, in run
  File "AMXXEditor in D:\Soft\Programming\sublime_amxx-editor_1.9\Packages\amxmodx.sublime-package", line 494, in process
  File "AMXXEditor in D:\Soft\Programming\sublime_amxx-editor_1.9\Packages\amxmodx.sublime-package", line 537, in load_from_file
  File "./python3.3/encodings/cp1251.py", line 23, in decode
UnicodeDecodeError: 'charmap' codec can't decode byte 0x98 in position 344: character maps to <undefined>
Maybe problem in russian symbols? Attached inc.

Some highlight problem after preprocessor #if, #endif
Spoiler
Attached Files
File Type: zip dark-pawn.zip (1.4 KB, 97 views)
File Type: sma Get Plugin or Get Source (deathrun_mode_duel.sma - 696 views - 17.8 KB)
File Type: inc deathrun_modes.inc (5.2 KB, 186 views)

Last edited by Mistrick; 08-20-2016 at 08:51.
Mistrick is offline
icimaro1337
Junior Member
Join Date: Jan 2016
Location: Moldova, Chisinau
Old 08-29-2016 , 16:55   Re: [Editor] Sublime AMXX-Editor v1.9
Reply With Quote #36

I'm looking a lot of time for editor like this, ty very much
icimaro1337 is offline
Send a message via Skype™ to icimaro1337
pupdebox
Senior Member
Join Date: Feb 2016
Location: Wakanda
Old 08-31-2016 , 09:33   Re: [Editor] Sublime AMXX-Editor v1.9
Reply With Quote #37

I will be a pro scripter with this editor.
pupdebox is offline
icimaro1337
Junior Member
Join Date: Jan 2016
Location: Moldova, Chisinau
Old 09-03-2016 , 13:17   Re: [Editor] Sublime AMXX-Editor v1.9
Reply With Quote #38

I found some mistakes:

1. Editor doesn't detect .inl files.
2. If i'm using
PHP Code:
#include "amxmodx" or #include amxmodx or #include <amxmodx.inc> 
it show's red, like something wrong here pic

3. Auto complete doesn't work for files like include/deathrun/core.inl


Also, sometimes brackets doesn't highlight correct, but actually i have no idea why, and can't explain.
icimaro1337 is offline
Send a message via Skype™ to icimaro1337
klippy
AlliedModders Donor
Join Date: May 2013
Location: Serbia
Old 09-03-2016 , 13:53   Re: [Editor] Sublime AMXX-Editor v1.9
Reply With Quote #39

For 1 and 3: go to Preferences > Browse Packages, navigate to User folder and open up AMXX-Pawn.sublime-settings in a text editor. In there add "inl" to "extensions" array.

Also, why do you even put .inl as files' extensions? Just use .sma.
klippy is offline
icimaro1337
Junior Member
Join Date: Jan 2016
Location: Moldova, Chisinau
Old 09-04-2016 , 10:47   Re: [Editor] Sublime AMXX-Editor v1.9
Reply With Quote #40

Do I can include .sma files like #include <file.sma> as <file.inl>? didn't tested, but i think this won't work...

Also found one more mistake, can't explain, but here pic
icimaro1337 is offline
Send a message via Skype™ to icimaro1337
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 11:26.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode