Changeset 3055
- Timestamp:
- Jun 26, 2018, 8:12:33 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified trunk/src/netlabs/macros/keys.e ¶
r3045 r3055 2257 2257 call pfill_mark( key) 2258 2258 2259 ; --------------------------------------------------------------------------- 2260 ; This is a callback command used by drag & drop of a marked area. 2261 defc DupMark 2262 Type = upcase( arg(1)) 2263 if Type = 'M' then -- M = move 2264 call NextCmdAltersText() 2265 call pmove_mark() 2266 elseif Type = 'C' then -- C = copy 2267 call NextCmdAltersText() 2268 if marktype() then 2269 call pcopy_mark() 2270 else -- If no mark, look in Shared Text buffer 2271 'GetSharBuff' -- See clipbrd.e for details 2272 endif 2273 elseif Type = 'O' then -- O = overlay 2274 call NextCmdAltersText() 2275 if marktype() then 2276 call pcommon_adjust_overlay( 'O') 2277 else -- If no mark, look in Shared Text buffer 2278 'GetSharBuff O' -- See clipbrd.e for details 2279 endif 2280 elseif Type = 'A' then -- A = adjust 2281 call NextCmdAltersText() 2282 call pcommon_adjust_overlay( 'A') 2283 elseif Type = 'U' then -- U = unmark 2284 unmark 2285 'ClearSharBuff' 2286 elseif Type = 'U2' then -- U2 = unmark w/o clearing buffer, for drag/drop 2287 unmark 2288 elseif Type = 'D' then -- D = delete mark 2289 'Copy2DMBuff' -- DMBuff = delete-mark buffer. See clipbrd.e for details. 2290 call NextCmdAltersText() 2291 call pdelete_mark() 2292 'ClearSharBuff' 2293 elseif Type = 'D2' then -- D2 = delete mark w/o touching buffers, for drag/drop 2294 call NextCmdAltersText() 2295 call pdelete_mark() 2296 elseif Type = 'P' then -- P = print marked area 2297 call checkmark() -- verify there is a marked area, 2298 'Print' -- then print it. 2299 endif 2300 2301 ; --------------------------------------------------------------------------- 2302 2259 2303 defc TypeFrameChars 2260 2304 call NextCmdAltersText()
Note:
See TracChangeset
for help on using the changeset viewer.