Tag Archives: IOTAKeyBindingServices

The Delphi Open Tools API Book

By | March 21, 2016

Its here 🙂 The Delphi Open Tools API Book Related posts: Chapter 5: Useful Open Tools Utility Functions The Delphi Open Tools API Book has been updated… The Open Tools API using C++ Builder Browse and Doc It Open Tools API: Delphi 7 has documentation…

Chapter 10: Reading editor code

By | August 29, 2011

In this chapter I’ll go through how to get the code from the editor and do something with it. For this example I’m simply going to allow you to select a method from the current module and move to its position. This will use some of the utility functions I’ve described before in (see Chapter… Read More »

Chapter 4.1 – The Fix

By | February 11, 2010

For those interested, here's the fix to the Chapter 4's code. procedure TKeyboardBinding.AddBreakpoint(const Context: IOTAKeyContext; KeyCode: TShortcut; var BindingResult: TKeyBindingResult); var i: Integer; DS : IOTADebuggerServices; MS : IOTAModuleServices; strFileName : String; Source : IOTASourceEditor; CP: TOTAEditPos; BP: IOTABreakpoint; begin MS := BorlandIDEServices As IOTAModuleServices; Source := SourceEditor(MS.CurrentModule); strFileName := Source.FileName; CP := Source.EditViews[0].CursorPos; DS… Read More »

Chapter 4: Key Bindings and Debugging Tools

By | February 10, 2010

In this chapter I’ll solve a problem I’ve found with all the Borland/CodeGear IDE’s I've used. I like to use just the keyboard where possible rather than grab the mouse. With the keyboard (and I use the IDE Classic keyboard binding) you can create a breakpoint with Ctrl+F8 but you can not edit its properties.… Read More »