Подстановка текста из редактора в строку ввода диалога

Здесь обсуждается всё, что касается макросов.
Post Reply
Shmuel
Posts: 6839
Joined: Thu 23 Mar, 2006 21:36
Location: Israel
Has thanked: 41 times
Been thanked: 530 times

Подстановка текста из редактора в строку ввода диалога

Post by Shmuel »

Code: Select all

Goal: pick some text from current editor line into dialog input field
What is picked:
  (a) if some text in the line is selected - that text is picked
  (b) else the word under cursor,
      else the nearest word in the forward direction,
      else the nearest word in the backward direction.
If the text in the input field is equal to (a) then (b) is picked and vice versa.
Shmuel
Posts: 6839
Joined: Thu 23 Mar, 2006 21:36
Location: Israel
Has thanked: 41 times
Been thanked: 530 times

Подстановка текста из редактора в строку ввода диалога

Post by Shmuel »

Макрос в первом сообщении отредактирован (верю, что улучшен). Описание макроса также изменилось.
Post Reply

Return to “Обсуждение макросов”