Recent Posts

Pages: 1 ... 6 7 [8] 9 10
71
SlickEdit® / 27.0.2.0: push-tag target is hardly visible
« Last post by os2bird on May 16, 2023, 08:10:23 pm »
The push-tag command (mapped to "Ctrl-." here) is one of my favorites, ever since Visual SlickEdit version 4.  However, it's currently driving me nuts with 27.0.2.0 because it always scrolls the buffer so that cursor is 4 lines above the bottom of the screen when displaying the target function, which hides most of the good stuff that I want to see.  This even happens when I've centered the target function and jumps to it again, it hides all but first four lines of the function.  Working on a monitor in portrait mode, there is plenty of vertical space (104 lines).  Not sure if this is a new thing or if it always was this way and I just noticed, but both 27.0.x versions I've been using recently have the issue.

I'm also seeing something similar with search & replace, though it doesn't always scroll the buffer if the next hit is close by, so not quite as annoying.  Still a source of annoyance and RSI.

Any settings that I've messed up here? Or is this a bug where someone took the wrong end of the screen as reference when trying to center the target function?

-bird
72
SlickEdit® / Re: Workspace Auto-Updated Tag Files, etc
« Last post by Dennis on May 16, 2023, 06:33:04 pm »
You can find context-sensitive help in most dialogs by hitting F1.  Try this in Tools > Tag Files...

Workspace Auto-Updated Tag Files would be a good thing for you to use.  What you need to do is create a workspace for these things you want to tag (or multiple workspaces, your choice).  Let SlickEdit build a tag file for it.  Then with your working project open, go to Tools > Tag Files, select the "Auto-Updated Tag Files" from the list of tag files, and click on |+| to add a new tag file, then navigate to the directory with the tag file(s) you built earlier and add it.

These tag files will be only associated with the workspaces you use them in (your C2000 projects).
73
SlickEdit® / Re: Paste would subtract one from numbers
« Last post by Dan on May 16, 2023, 03:49:53 pm »
If you ever need to in SlickEdit, you can column select a group of numbers and type "add" on the SlickEdit command line to get the result.
74
SlickEdit® / Re: Paste would subtract one from numbers
« Last post by MAatHome on May 15, 2023, 10:51:45 pm »
Wow! Did not know about this functionality.

Thank you.
Mike.
75
SlickEdit® / Re: Paste would subtract one from numbers
« Last post by patrick on May 15, 2023, 07:41:25 pm »
In the default vim emulation, vi-decrement is bound to Ctrl-X.  You can go to Tools -> Options -> Keyboard and Mouse -> Key Bindings, and type "vi-decrement" into the "Seach by command" box to see where it is bound.  You can remove the binding there.

I removed vi-decrement for my personal bindings, I would accidentally hit Ctrl-X in the window sometimes, and it was annoying if I didn't notice it immediately.   

76
SlickEdit® / Re: Paste would subtract one from numbers
« Last post by MAatHome on May 15, 2023, 06:38:42 pm »
The answer is no, it was not fixed, it just re-occurred. I did not get sufficient docuementation - I believe it is a combination of copy/paste and p/<shift>p in vi mode.

77
SlickEdit® / Paste would subtract one from numbers
« Last post by MAatHome on May 15, 2023, 05:00:12 pm »
Using SlickEdit Pro 2022 (v27.0.0.6 64-bit Qt5)

I would have code that contained numbers ... as in uint16_t or just a zero (0) and paste would subtract 1 from the number change it to uint15_t and -1.

Pretty weird!

Was this fixed in v27.0.2?

thanks,
Mike.
78
SlickEdit® / Workspace Auto-Updated Tag Files, etc
« Last post by JimmieC on May 15, 2023, 02:50:38 pm »
v27.0.1.0 64-bit Qt5

I need to add some tag files for Texas Instruments, specifically they are for:
C:\ti\c2000\C2000Ware_4_01_00_00
C:\ti\bios_6_83_00_18
C:\ti\ccs1120\xdctools_3_62_01_16_core

These are source code & libraries for the TI C2000 processors. I use them in several embedded projects. Obviously, these are not used in Windows or Linux projects. They are C\C++ based. There is a tag file area for "C/C++ Tag Files".
-So, should these be added to "C/C++ Tag Files" area?

I also see a folder for Workspace Auto-Updated Tag Files.
- I am not sure how that is used?
- Should I put these tag files there?
- Is there a way to create the tag files so that I configure only C2000 projects to look at those tag files?
----- I would prefer to compartmentalize the tag files to only those embedded projects that can make use of them. This keeps useless results from getting presented in non-C2000 projects.

I looked in SE help for TagFiles and found the command line help but it did not address my questions.
79
Features and/or Improvements / Re: Possible to disable font ligatures?
« Last post by Dennis on May 15, 2023, 12:48:11 pm »
If you download the latest JetBrains Mono, the zip file also includes a "JetBrainsMonoNL" which is a no ligatures version of the font.  https://stackoverflow.com/questions/62195642/what-the-difference-between-jetbrains-mono-and-jetbrains-mono-nl
80
SlickEdit® / Re: How to call macro from everywhere
« Last post by at5dapa1 on May 13, 2023, 11:06:10 am »
Thanks for the answers and for the command alias hint  :)

Here's my use case scenario:
  • I have Preview and References tools docked and active all the time
  • I am in the editor (area 1 in the picture) and trigger a "Find References to ..."
  • The focus moves to References tool (area 2 in the picture): this is expected and fine
  • But sometimes the references are incomplete (sometimes it shows only the current file and the associated header) and I figured out that if I trigger a retagging, then immediately try a new "Find References to ..." then it works fine. But if I try here (when the focus is at 2) the macro will not work, unless I press an ESC: the focus moves to document and try the macro from there where it works
  • Same, if the focus is in Preview tool (area 3 in the picture)

I tried
Code: [Select]
_command prm, project_retag_modal()  name_info(','VSARG2_MACRO|VSARG2_MARK)
or
Code: [Select]
_command prm, project_retag_modal()  name_info(',')
formats, but the same result, not big deal though, hoped that it should be some config which I miss or an easy workaround  ;)
Pages: 1 ... 6 7 [8] 9 10