FunctionList Plugin is compatible with Notepad++ 6.0

OUT - OF - DATE
Obsolete. Please check new post!


Recently was released Notepad++ 6.1. You can take FunctionList plugin  v2.1 here. And enjoy with list of functions.








Enjoy it!

notepad++ contoh pemograman or plugin example

You would like to create own plugin for notepad++ and looking for some examples?
Just take existing sources and good guide.

What also you need? Right, Visual Studio to write/compile/build/debug. Look here.
or buy it

OTRS Cc and Bcc fields with autocomplete


If you miss autocomplete in Cc or Bcc fields just add piece of code into AgentCustomerSearch.dtl template

        
    Core.Agent.CustomerSearch.Init($("#Cc"), $QData{"ActiveAutoComplete"});
    Core.Agent.CustomerSearch.Init($("#Bcc"), $QData{"ActiveAutoComplete"});

Enjoy!

That assembly does not allow partially trusted callers

It's really good described in "Improving Web Application Security: Threats and Countermeasures" article. Most common solution is bit of code in web.config file, which doesn't help me a lot.

<system.web>
<trust level="Full" originUrl=""/>
</system.web>

another popular way to recompile assembly with [assembly: AllowPartiallyTrustedCallers] attribute also was not solution for me.


After all I have added assembly to GAC, restarted IIS and whooops, exception gone!
you will not find gacutil.exe into Framework directory
C:\Windows\Microsoft.NET\Framework\v2.0.50727\
it's located into SDKs directory
C:\Program Files\Microsoft SDKs\Windows\v6.0A\bin\

So you should install problem assembly into GAC like
gacutil.exe -i itextsharp.dll


P.S.: it won't eliminate exception with GoDaddy hosting :( according to the article your code must be adapted to Medium trust level :(

disable autocomplete on login page


you need to add autocomplete property like
        


<div class="Field"> 

<input type="text" id="User" name="User"  class="W50pcautocomplete="off" 

readonly="readonly"/>
</div>



OTRS how to enable auto complete for To field?

have you any idea how to remove autocomplete=off in text fields of AgentTicketCompose ?
i would like to use cached email addresses in browser instead of instant database request via AJAX and spent some time to find just the piece of code!

Thus you should open AgentCustomerSearch.dtl file and comment out only one string:
        

//    Core.Agent.CustomerSearch.Init($("#CustomerAutoComplete"), $QData{"ActiveAutoComplete"});


Done!

Similar: how to disable autocomplete  on logon page.

PV-WAVE Program And Function List in notepad++


Following instruction can be applied for first installation of Notepad++ on Windows 7.

- get keywords and FunctionList Plugin config here.
- unpack from archive into %APPDATA%\Notepad++\ directory
CAUTION!: it will be userDefineLang.xml and FunctionListRules.xml files overwritten!!

- OR -

you can find userDefineLang.xml file and insert    <UserLang name="pvwave" ext=""> section into it,
also find FunctionListRules.xml file and insert  <Language name="pvwave" imagelistpath=""> section.

Resulting screenshot:

Enjoy it!

Asterisk AST_SORCERY function

 AST_SORCERY gets a field from a sorcery object. Sorcery is always created for PJSIP aors, endpoints and identifies in asterisk. It allows y...