Recent content by AMatveev

  1. A

    Custom *Kill* in SESSIONS window?

    In Lua Plug-In you can do something like: local AddMenu = ... local plsql = plsql local SYS, IDE, SQL = plsql.sys, plsql.ide, plsql.sql local ShowMessage = plsql.ShowMessage local pvUserKill do local function UserKill() local svSql="ALTER SYSTEM KILL SESSION...
  2. A

    LuaPlSql plugin

    New luaplsq release has come: Release Name: 1.6 Notes: New function: plsql.EnableWindow() Now you can make your dialog modal: local function ShowFileCont(spFileName) local hwnd=IDE.GetWindowHandle() plsql.EnableWindow(hwnd,false); ... dlg:show() iup.MainLoop() dlg:destroy()...
  3. A

    LuaPlSql plugin

    For example visithttp://www.tecgraf.puc-rio.br/iup/en/basic/index.html It's seems a good quick guide. Also, in Lua plsql you should call dlg:destroy() after iup.MainLoop() I don't think there are many working example for luaPlSql. If you want to test my lua example or any others you should...
  4. A

    LuaPlSql plugin

    It's not actual in version 8 and above. Just for example It's Create a list of static method ObjectName-Type name SubObject-Pattern for the quick search There are key processing There are good documentation on IUP in the Internet
  5. A

    LuaPlSql plugin

    It's very useful when you work with large queries to have the ability to copy sub-query for example: [#]-Cursor position select * from [#]( ...large text with subquery ), ...large text To copy sub-query quickly use following script:
  6. A

    LuaPlSql plugin

    Reload object source in program windows from data base.
  7. A

    LuaPlSql plugin

    It's not a commercial project so it would be better to say nothing or may be to ask the author to modify "Lua loader", or just do it yourself :)
  8. A

    LuaPlSql plugin

    Unfortunately you must use default directory to store luaplugin because the lua loader use standard path to load it. See luaplug.c #define PLUGIN_DLL_NAME "luaplsql.dll" #define PLUGIN_DLL_PATH ".\\PlugIns\\lua\\clibs\\"
  9. A

    LuaPlSql plugin

    So since IUP does not know about your dialog, you have to disable it yourself before showing the IUP dialogs. Simply do: EnableWindow(hWnd,FALSE); IupPopup(... EnableWindow(hWnd,TRUE); Unfortunately "EnableWindow" is winapi function, so you should write your own dll or ask the plugin's...
  10. A

    LuaPlSql plugin

    It can be very comfortable to have the ability to add package\type header tab in body program window editor. So you can delete header tab to escape package\type revalidation and quick add this tab when you need it. To do this you need: 1 - Create the new template in program unit for example...
  11. A

    LuaPlSql plugin

    I have asked the author about a concise guide and I am not sure It will be done soon. Today You should look up "Lua library" declaration to find out what Lua commands are included into luaplsql. For example: There is the end of plsql_ide.c static luaL_reg plsql_idelib[] = { {"MenuState"...
  12. A

    LuaPlSql plugin

    It can be interesting for everybody who loves plsql developer and suffers from its beautifier :) (To say the Truth it's not very good and doesn't support some of the new plsql construction) There is the way to use quest software formatter plus with plsq develper. You just need luaplsql and...
  13. A

    LuaPlSql plugin

    It can be said that luaplsql is very good open source plugin and with our help will be able to turn into complete replacement for Browser Extender. Of course as most open source utilities it's not so friendly as there commercial alternatives. But it's absolutely free!!! Since 0.9 It become...
Back
Top