Re: VBScript get CaretX from line with tabs [73269]

2020-04-16 Tema obsahu Jan Fiala
You can call the PSPad action aTabToSpaces from scripting It will work on selected text or on the whole file -- PSPad freeware editor https://www.pspad.com

=?windows-1250?Q?Re:_Odp:_Jak_wyszukiwa=E6_tylko_liczby_nieparzyste_po_przecinku?_[73268]?=

2020-04-16 Tema obsahu Jan Fiala
Scripting and use ROUND() function What do you do isn't work for text editor. Why don't you use some spreadsheet? Excel, OpenOffice, Libre Office... -- PSPad freeware editor https://www.pspad.com

Re: VBScript get CaretX from line with tabs [73267]

2020-04-16 Tema obsahu Professor Bernd
Hi Jan, I made a mistake. Can I please change the feature request? My tests have shown that calculating the cursor position from extended tabs to position my CallTip does not work. :-( What would work would be a function to convert the line with tabs to a line with spaces. Like the function

=?windows-1250?Q?Odp:_Jak_wyszukiwa=E6_tylko_liczby_nieparzyste_po_przecinku?_[73266]?=

2020-04-16 Tema obsahu maki
I have even more difficult problems to solve, how do I convert decimal numbers to integer numbers? Example: === 11,63513513513514 Convert to:12 If 11.0xx blah blah - 11.49 blah blah Convert = 11 == If 11.51 blah blah - 11.99xxx blah blah Convert = 12 So an

Re: VBScript get CaretX from line with tabs [73265]

2020-04-16 Tema obsahu Jan Fiala
I know, but I need to publish it into scripting. -- PSPad freeware editor https://www.pspad.com

Re: VBScript get CaretX from line with tabs [73264]

2020-04-16 Tema obsahu Professor Bernd
You already have the function. ;-) It shows the position of the expanded tabs in the PSPad status bar (see screenshot in posting #1). It would only be necessary to provide the value in VBScript. :) Bernd. -- PSPad freeware editor

Re: VBScript get CaretX from line with tabs [73263]

2020-04-16 Tema obsahu Jan Fiala
OK, understand. I need to add another function what will calculate cursor position from expanded tabs. -- PSPad freeware editor https://www.pspad.com

Re: VBScript get CaretX from line with tabs [73262]

2020-04-16 Tema obsahu Professor Bernd
It is for external use with my CallTipViewer. With VBScript I call the CallTip, pass it CaretX, and calculate the position of the first letter of the function name. Then I position the CallTip exactly under the function name.

=?windows-1250?Q?Re:_How_can_I_search_only_for_odd_numbers_after_the_decimal_point?_[73261]?=

2020-04-16 Tema obsahu Jan Fiala
Replace end with comma optional with end of line Such easyb hings you should bd able to do yourself -- PSPad freeware editor https://www.pspad.com

Re: Improve Search CSV File [73260]

2020-04-16 Tema obsahu Jan Fiala
I dont understand -- PSPad freeware editor https://www.pspad.com

=?windows-1250?Q?Re:_How_can_I_search_only_for_odd_numbers_after_the_decimal_point?_[73259]?=

2020-04-16 Tema obsahu maki
Still not a perfect regex Not correct: 11,12,13,79 Correct 11,12,13,79,80 -- PSPad freeware editor https://www.pspad.com

Re: Improve Search CSV File [73258]

2020-04-16 Tema obsahu maki
pspad - this option allows use lookahead and lookbehind regex to look outside of the selection while match only in the selection. -- PSPad freeware editor https://www.pspad.com

=?windows-1250?Q?Re:_How_can_I_search_only_for_odd_numbers_after_the_decimal_point?_[73257]?=

2020-04-16 Tema obsahu Jan Fiala
Or use different acces and replace with nothing non odd numbers -- PSPad freeware editor https://www.pspad.com

=?windows-1250?Q?Re:_How_can_I_search_only_for_odd_numbers_after_the_decimal_point?_[73256]?=

2020-04-16 Tema obsahu Jan Fiala
Somethink like: \d{0,}[13579]\, -- PSPad freeware editor https://www.pspad.com

=?windows-1250?Q?How_can_I_search_only_for_odd_numbers_after_the_decimal_point?_[73255]?=

2020-04-16 Tema obsahu maki
How can I search only for _odd numbers_ after the decimal point? Example: 1,4,7,56,78,79,80 Result: 1,7,79 -- PSPad freeware editor https://www.pspad.com

Re: Improve Search CSV File [73254]

2020-04-16 Tema obsahu Jan Fiala
maki: Where is this option, or similar in PSPad, excellent search in CSV (comma separated) files [x]Look Around during the Selection Only Search

Improve Search CSV File [73253]

2020-04-16 Tema obsahu maki
Where is this option, or similar in PSPad, excellent search in CSV (comma separated) files [x]Look Around during the Selection Only Search -- PSPad freeware editor https://www.pspad.com