Skip to content

Commit 7e42346

Browse files
committed
Added segment start and end macros
1 parent 971483d commit 7e42346

File tree

4 files changed

+4
-327
lines changed

4 files changed

+4
-327
lines changed

climacros.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,10 @@ static macro_def_t DEFAULT_MACROS[] =
5454
{
5555
{"$!", "${'0x%x' % idc.here()}$", "Current cursor location (0x...)"},
5656
{"$!!", "${'%x' % idc.here()}$", "Current cursor location"},
57+
{"$>", "${'0x%x' % idc.SegEnd(idc.here())}$", "Current segment end (0x...)"},
58+
{"$>>", "${'%x' % idc.SegEnd(idc.here())}$", "Current segment end"},
59+
{"$<", "${'0x%x' % idc.SegStart(idc.here())}$", "Current segment start (0x...)"},
60+
{"$<<", "${'%x' % idc.SegStart(idc.here())}$", "Current segment start"},
5761
{"$[", "${'0x%x' % idc.SelStart()}$", "Selection start (0x...)"},
5862
{"$[[", "${'%x' % idc.SelStart()}$", "Selection start"},
5963
{"$@b", "${'0x%x' % idc.Byte(idc.here())}$", "Byte value at current cursor location (0x...)" },

climacros.sln

Lines changed: 0 additions & 31 deletions
This file was deleted.

climacros.vcxproj

Lines changed: 0 additions & 273 deletions
This file was deleted.

climacros.vcxproj.user

Lines changed: 0 additions & 23 deletions
This file was deleted.

0 commit comments

Comments
 (0)