1 // This file is part of Notepad++ project 2 // Copyright (C)2003 Don HO <don.h@free.fr> 3 // 4 // This program is free software; you can redistribute it and/or 5 // modify it under the terms of the GNU General Public License 6 // as published by the Free Software Foundation; either 7 // version 2 of the License, or (at your option) any later version. 8 // 9 // Note that the GPL places important restrictions on "derived works", yet 10 // it does not provide a detailed definition of that term. To avoid 11 // misunderstandings, we consider an application to constitute a 12 // "derivative work" for the purpose of this license if it does any of the 13 // following: 14 // 1. Integrates source code from Notepad++. 15 // 2. Integrates/includes/aggregates Notepad++ into a proprietary executable 16 // installer, such as those produced by InstallShield. 17 // 3. Links to a library or executes a program that does any of the above. 18 // 19 // This program is distributed in the hope that it will be useful, 20 // but WITHOUT ANY WARRANTY; without even the implied warranty of 21 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 22 // GNU General Public License for more details. 23 // 24 // You should have received a copy of the GNU General Public License 25 // along with this program; if not, write to the Free Software 26 // Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 27 /** 28 * notepad_plus_msgs wrapper 29 * 30 * See_Also: 31 * https://npp-user-manual.org/docs/plugin-communication/ 32 * 33 * ToDo: recheck 34 * Author: dokutoku, https://twitter.com/dokutoku3 35 * License: GPL-2.0 or later 36 */ 37 module npp_api.pluginfunc.npp_msgs; 38 39 40 version (Windows): 41 42 //pragma(lib, "user32"); 43 44 private static import core.stdc.config; 45 private static import core.sys.windows.basetsd; 46 private static import core.sys.windows.windef; 47 private static import core.sys.windows.winnt; 48 private static import core.sys.windows.winuser; 49 private static import npp_api.PowerEditor.MISC.PluginsManager.Notepad_plus_msgs; 50 private static import npp_api.PowerEditor.MISC.PluginsManager.PluginInterface; 51 private static import npp_api.PowerEditor.WinControls.DockingWnd.Docking; 52 53 pragma(inline, true): 54 nothrow @nogc: 55 56 /** 57 * NPPM_GETCURRENTSCINTILLA 58 */ 59 void send_NPPM_GETCURRENTSCINTILLA(core.sys.windows.windef.HWND _nppHandle, ref int currentEdit) 60 61 in 62 { 63 assert(_nppHandle != core.sys.windows.windef.NULL); 64 } 65 66 do 67 { 68 core.sys.windows.winuser.SendMessageW(_nppHandle, npp_api.PowerEditor.MISC.PluginsManager.Notepad_plus_msgs.NPPM_GETCURRENTSCINTILLA, cast(core.sys.windows.windef.WPARAM)(0), cast(core.sys.windows.windef.LPARAM)(¤tEdit)); 69 } 70 71 /** 72 * NPPM_GETCURRENTLANGTYPE 73 */ 74 void send_NPPM_GETCURRENTLANGTYPE(core.sys.windows.windef.HWND _nppHandle, ref npp_api.PowerEditor.MISC.PluginsManager.Notepad_plus_msgs.LangType langType) 75 76 in 77 { 78 assert(_nppHandle != core.sys.windows.windef.NULL); 79 } 80 81 do 82 { 83 int output_langType; 84 85 core.sys.windows.winuser.SendMessageW(_nppHandle, npp_api.PowerEditor.MISC.PluginsManager.Notepad_plus_msgs.NPPM_GETCURRENTLANGTYPE, cast(core.sys.windows.windef.WPARAM)(0), cast(core.sys.windows.windef.LPARAM)(&output_langType)); 86 87 langType = ((output_langType >= 0) && (cast(int)(npp_api.PowerEditor.MISC.PluginsManager.Notepad_plus_msgs.LangType.L_EXTERNAL) > output_langType)) ? (cast(npp_api.PowerEditor.MISC.PluginsManager.Notepad_plus_msgs.LangType)(output_langType)) : (npp_api.PowerEditor.MISC.PluginsManager.Notepad_plus_msgs.LangType.L_EXTERNAL); 88 } 89 90 /** 91 * NPPM_SETCURRENTLANGTYPE 92 */ 93 bool send_NPPM_SETCURRENTLANGTYPE(core.sys.windows.windef.HWND _nppHandle, npp_api.PowerEditor.MISC.PluginsManager.Notepad_plus_msgs.LangType langTypeToSet) 94 95 in 96 { 97 assert(_nppHandle != core.sys.windows.windef.NULL); 98 } 99 100 do 101 { 102 return cast(bool)(core.sys.windows.winuser.SendMessageW(_nppHandle, npp_api.PowerEditor.MISC.PluginsManager.Notepad_plus_msgs.NPPM_SETCURRENTLANGTYPE, cast(core.sys.windows.windef.WPARAM)(0), cast(core.sys.windows.windef.LPARAM)(cast(int)(langTypeToSet)))); 103 } 104 105 /** 106 * NPPM_GETNBOPENFILES 107 */ 108 size_t send_NPPM_GETNBOPENFILES(core.sys.windows.windef.HWND _nppHandle, int nbType) 109 110 in 111 { 112 assert(_nppHandle != core.sys.windows.windef.NULL); 113 } 114 115 do 116 { 117 return cast(size_t)(core.sys.windows.winuser.SendMessageW(_nppHandle, npp_api.PowerEditor.MISC.PluginsManager.Notepad_plus_msgs.NPPM_GETNBOPENFILES, cast(core.sys.windows.windef.WPARAM)(0), cast(core.sys.windows.windef.LPARAM)(nbType))); 118 } 119 120 /** 121 * NPPM_GETOPENFILENAMES 122 */ 123 size_t send_NPPM_GETOPENFILENAMES(core.sys.windows.windef.HWND _nppHandle, core.sys.windows.winnt.WCHAR** fileNames, int nbFile) 124 125 in 126 { 127 assert(_nppHandle != core.sys.windows.windef.NULL); 128 assert(fileNames != null); 129 } 130 131 do 132 { 133 return cast(size_t)(core.sys.windows.winuser.SendMessageW(_nppHandle, npp_api.PowerEditor.MISC.PluginsManager.Notepad_plus_msgs.NPPM_GETOPENFILENAMES, cast(core.sys.windows.windef.WPARAM)(fileNames), cast(core.sys.windows.windef.LPARAM)(nbFile))); 134 } 135 136 /** 137 * NPPM_MODELESSDIALOG 138 */ 139 core.sys.windows.windef.HWND send_NPPM_MODELESSDIALOG(core.sys.windows.windef.HWND _nppHandle, int op, core.sys.windows.windef.HWND hDlg) 140 141 in 142 { 143 assert(_nppHandle != core.sys.windows.windef.NULL); 144 } 145 146 do 147 { 148 return cast(core.sys.windows.windef.HWND)(core.sys.windows.winuser.SendMessageW(_nppHandle, npp_api.PowerEditor.MISC.PluginsManager.Notepad_plus_msgs.NPPM_MODELESSDIALOG, cast(core.sys.windows.windef.WPARAM)(op), cast(core.sys.windows.windef.LPARAM)(hDlg))); 149 } 150 151 /** 152 * NPPM_GETNBSESSIONFILES 153 */ 154 size_t send_NPPM_GETNBSESSIONFILES(core.sys.windows.windef.HWND _nppHandle, scope const core.sys.windows.winnt.WCHAR* sessionFileName) 155 156 in 157 { 158 assert(_nppHandle != core.sys.windows.windef.NULL); 159 assert(sessionFileName != null); 160 } 161 162 do 163 { 164 return cast(size_t)(core.sys.windows.winuser.SendMessageW(_nppHandle, npp_api.PowerEditor.MISC.PluginsManager.Notepad_plus_msgs.NPPM_GETNBSESSIONFILES, cast(core.sys.windows.windef.WPARAM)(0), cast(core.sys.windows.windef.LPARAM)(sessionFileName))); 165 } 166 167 /** 168 * NPPM_GETSESSIONFILES 169 */ 170 bool send_NPPM_GETSESSIONFILES(core.sys.windows.windef.HWND _nppHandle, core.sys.windows.winnt.WCHAR** sessionFileArray, scope const core.sys.windows.winnt.WCHAR* sessionFileName) 171 172 in 173 { 174 assert(_nppHandle != core.sys.windows.windef.NULL); 175 assert(sessionFileArray != null); 176 assert(sessionFileName != null); 177 } 178 179 do 180 { 181 return cast(bool)(core.sys.windows.winuser.SendMessageW(_nppHandle, npp_api.PowerEditor.MISC.PluginsManager.Notepad_plus_msgs.NPPM_GETSESSIONFILES, cast(core.sys.windows.windef.WPARAM)(sessionFileArray), cast(core.sys.windows.windef.LPARAM)(sessionFileName))); 182 } 183 184 /** 185 * NPPM_SAVESESSION 186 * ToDo: pointer? sessionInfomation 187 */ 188 const (core.sys.windows.winnt.WCHAR)* send_NPPM_SAVESESSION(core.sys.windows.windef.HWND _nppHandle, npp_api.PowerEditor.MISC.PluginsManager.Notepad_plus_msgs.sessionInfo* sessionInfomation) 189 190 in 191 { 192 assert(_nppHandle != core.sys.windows.windef.NULL); 193 assert(sessionInfomation != null); 194 } 195 196 do 197 { 198 return cast(const (core.sys.windows.winnt.WCHAR)*)(core.sys.windows.winuser.SendMessageW(_nppHandle, npp_api.PowerEditor.MISC.PluginsManager.Notepad_plus_msgs.NPPM_SAVESESSION, cast(core.sys.windows.windef.WPARAM)(0), cast(core.sys.windows.windef.LPARAM)(sessionInfomation))); 199 } 200 201 /** 202 * NPPM_SAVECURRENTSESSION 203 */ 204 const (core.sys.windows.winnt.WCHAR)* send_NPPM_SAVECURRENTSESSION(core.sys.windows.windef.HWND _nppHandle, scope const core.sys.windows.winnt.WCHAR* sessionFileName) 205 206 in 207 { 208 assert(_nppHandle != core.sys.windows.windef.NULL); 209 //assert(sessionFileName != null); 210 } 211 212 do 213 { 214 return cast(const (core.sys.windows.winnt.WCHAR)*)(core.sys.windows.winuser.SendMessageW(_nppHandle, npp_api.PowerEditor.MISC.PluginsManager.Notepad_plus_msgs.NPPM_SAVECURRENTSESSION, cast(core.sys.windows.windef.WPARAM)(0), cast(core.sys.windows.windef.LPARAM)(sessionFileName))); 215 } 216 217 /** 218 * NPPM_GETOPENFILENAMESPRIMARY 219 */ 220 size_t send_NPPM_GETOPENFILENAMESPRIMARY(core.sys.windows.windef.HWND _nppHandle, core.sys.windows.winnt.WCHAR** fileNames, int nbFile) 221 222 in 223 { 224 assert(_nppHandle != core.sys.windows.windef.NULL); 225 assert(fileNames != null); 226 } 227 228 do 229 { 230 return cast(size_t)(core.sys.windows.winuser.SendMessageW(_nppHandle, npp_api.PowerEditor.MISC.PluginsManager.Notepad_plus_msgs.NPPM_GETOPENFILENAMESPRIMARY, cast(core.sys.windows.windef.WPARAM)(fileNames), cast(core.sys.windows.windef.LPARAM)(nbFile))); 231 } 232 233 /** 234 * NPPM_GETOPENFILENAMESSECOND 235 */ 236 size_t send_NPPM_GETOPENFILENAMESSECOND(core.sys.windows.windef.HWND _nppHandle, core.sys.windows.winnt.WCHAR** fileNames, int nbFile) 237 238 in 239 { 240 assert(_nppHandle != core.sys.windows.windef.NULL); 241 assert(fileNames != null); 242 } 243 244 do 245 { 246 return cast(size_t)(core.sys.windows.winuser.SendMessageW(_nppHandle, npp_api.PowerEditor.MISC.PluginsManager.Notepad_plus_msgs.NPPM_GETOPENFILENAMESSECOND, cast(core.sys.windows.windef.WPARAM)(fileNames), cast(core.sys.windows.windef.LPARAM)(nbFile))); 247 } 248 249 /** 250 * NPPM_CREATESCINTILLAHANDLE 251 */ 252 core.sys.windows.windef.HWND send_NPPM_CREATESCINTILLAHANDLE(core.sys.windows.windef.HWND _nppHandle, core.sys.windows.windef.HWND pluginWindowHandle) 253 254 in 255 { 256 assert(_nppHandle != core.sys.windows.windef.NULL); 257 } 258 259 do 260 { 261 return cast(core.sys.windows.windef.HWND)(core.sys.windows.winuser.SendMessageW(_nppHandle, npp_api.PowerEditor.MISC.PluginsManager.Notepad_plus_msgs.NPPM_CREATESCINTILLAHANDLE, cast(core.sys.windows.windef.WPARAM)(0), cast(core.sys.windows.windef.LPARAM)(pluginWindowHandle))); 262 } 263 264 /** 265 * NPPM_DESTROYSCINTILLAHANDLE 266 */ 267 bool send_NPPM_DESTROYSCINTILLAHANDLE(core.sys.windows.windef.HWND _nppHandle, core.sys.windows.windef.HWND scintillaHandle2Destroy) 268 269 in 270 { 271 assert(_nppHandle != core.sys.windows.windef.NULL); 272 } 273 274 do 275 { 276 return cast(bool)(core.sys.windows.winuser.SendMessageW(_nppHandle, npp_api.PowerEditor.MISC.PluginsManager.Notepad_plus_msgs.NPPM_DESTROYSCINTILLAHANDLE, cast(core.sys.windows.windef.WPARAM)(0), cast(core.sys.windows.windef.LPARAM)(scintillaHandle2Destroy))); 277 } 278 279 /** 280 * NPPM_GETNBUSERLANG 281 */ 282 int send_NPPM_GETNBUSERLANG(core.sys.windows.windef.HWND _nppHandle, int* lParam) 283 284 in 285 { 286 assert(_nppHandle != core.sys.windows.windef.NULL); 287 assert(lParam != null); 288 } 289 290 do 291 { 292 return cast(int)(core.sys.windows.winuser.SendMessageW(_nppHandle, npp_api.PowerEditor.MISC.PluginsManager.Notepad_plus_msgs.NPPM_GETNBUSERLANG, cast(core.sys.windows.windef.WPARAM)(0), cast(core.sys.windows.windef.LPARAM)(lParam))); 293 } 294 295 /** 296 * NPPM_GETCURRENTDOCINDEX 297 */ 298 int send_NPPM_GETCURRENTDOCINDEX(core.sys.windows.windef.HWND _nppHandle, int iView) 299 300 in 301 { 302 assert(_nppHandle != core.sys.windows.windef.NULL); 303 } 304 305 do 306 { 307 return cast(int)(core.sys.windows.winuser.SendMessageW(_nppHandle, npp_api.PowerEditor.MISC.PluginsManager.Notepad_plus_msgs.NPPM_GETCURRENTDOCINDEX, cast(core.sys.windows.windef.WPARAM)(0), cast(core.sys.windows.windef.LPARAM)(iView))); 308 } 309 310 /** 311 * NPPM_SETSTATUSBAR 312 */ 313 bool send_NPPM_SETSTATUSBAR(core.sys.windows.windef.HWND _nppHandle, core.sys.windows.winnt.WCHAR* wParam, int lParam) 314 315 in 316 { 317 assert(_nppHandle != core.sys.windows.windef.NULL); 318 assert(wParam != null); 319 } 320 321 do 322 { 323 return cast(bool)(core.sys.windows.winuser.SendMessageW(_nppHandle, npp_api.PowerEditor.MISC.PluginsManager.Notepad_plus_msgs.NPPM_SETSTATUSBAR, cast(core.sys.windows.windef.WPARAM)(wParam), cast(core.sys.windows.windef.LPARAM)(lParam))); 324 } 325 326 /** 327 * NPPM_GETMENUHANDLE 328 */ 329 core.sys.windows.windef.HMENU send_NPPM_GETMENUHANDLE(core.sys.windows.windef.HWND _nppHandle, core.sys.windows.windef.INT menuChoice) 330 331 in 332 { 333 assert(_nppHandle != core.sys.windows.windef.NULL); 334 assert((menuChoice == npp_api.PowerEditor.MISC.PluginsManager.Notepad_plus_msgs.NPPPLUGINMENU) || (menuChoice == npp_api.PowerEditor.MISC.PluginsManager.Notepad_plus_msgs.NPPMAINMENU)); 335 } 336 337 do 338 { 339 return cast(core.sys.windows.windef.HMENU)(core.sys.windows.winuser.SendMessageW(_nppHandle, npp_api.PowerEditor.MISC.PluginsManager.Notepad_plus_msgs.NPPM_GETMENUHANDLE, cast(core.sys.windows.windef.WPARAM)(menuChoice), cast(core.sys.windows.windef.LPARAM)(0))); 340 } 341 342 /** 343 * NPPM_ENCODESCI 344 */ 345 int send_NPPM_ENCODESCI(core.sys.windows.windef.HWND _nppHandle, int wParam) 346 347 in 348 { 349 assert(_nppHandle != core.sys.windows.windef.NULL); 350 assert((wParam == npp_api.PowerEditor.MISC.PluginsManager.Notepad_plus_msgs.MAIN_VIEW) || (wParam == npp_api.PowerEditor.MISC.PluginsManager.Notepad_plus_msgs.SUB_VIEW)); 351 } 352 353 do 354 { 355 return cast(int)(core.sys.windows.winuser.SendMessageW(_nppHandle, npp_api.PowerEditor.MISC.PluginsManager.Notepad_plus_msgs.NPPM_ENCODESCI, cast(core.sys.windows.windef.WPARAM)(wParam), cast(core.sys.windows.windef.LPARAM)(0))); 356 } 357 358 /** 359 * NPPM_DECODESCI 360 */ 361 int send_NPPM_DECODESCI(core.sys.windows.windef.HWND _nppHandle, int wParam) 362 363 in 364 { 365 assert(_nppHandle != core.sys.windows.windef.NULL); 366 assert((wParam == npp_api.PowerEditor.MISC.PluginsManager.Notepad_plus_msgs.MAIN_VIEW) || (wParam == npp_api.PowerEditor.MISC.PluginsManager.Notepad_plus_msgs.SUB_VIEW)); 367 } 368 369 do 370 { 371 return cast(int)(core.sys.windows.winuser.SendMessageW(_nppHandle, npp_api.PowerEditor.MISC.PluginsManager.Notepad_plus_msgs.NPPM_DECODESCI, cast(core.sys.windows.windef.WPARAM)(wParam), cast(core.sys.windows.windef.LPARAM)(0))); 372 } 373 374 /** 375 * NPPM_ACTIVATEDOC 376 */ 377 void send_NPPM_ACTIVATEDOC(core.sys.windows.windef.HWND _nppHandle, int view, int index2Activate) 378 379 in 380 { 381 assert(_nppHandle != core.sys.windows.windef.NULL); 382 } 383 384 do 385 { 386 core.sys.windows.winuser.SendMessageW(_nppHandle, npp_api.PowerEditor.MISC.PluginsManager.Notepad_plus_msgs.NPPM_ACTIVATEDOC, cast(core.sys.windows.windef.WPARAM)(view), cast(core.sys.windows.windef.LPARAM)(index2Activate)); 387 } 388 389 /** 390 * NPPM_LAUNCHFINDINFILESDLG 391 */ 392 void send_NPPM_LAUNCHFINDINFILESDLG(core.sys.windows.windef.HWND _nppHandle, core.sys.windows.winnt.WCHAR* dir2Search, core.sys.windows.winnt.WCHAR* filtre) 393 394 in 395 { 396 assert(_nppHandle != core.sys.windows.windef.NULL); 397 assert(dir2Search != null); 398 assert(filtre != null); 399 } 400 401 do 402 { 403 core.sys.windows.winuser.SendMessageW(_nppHandle, npp_api.PowerEditor.MISC.PluginsManager.Notepad_plus_msgs.NPPM_LAUNCHFINDINFILESDLG, cast(core.sys.windows.windef.WPARAM)(dir2Search), cast(core.sys.windows.windef.LPARAM)(filtre)); 404 } 405 406 /** 407 * NPPM_DMMSHOW 408 */ 409 void send_NPPM_DMMSHOW(core.sys.windows.windef.HWND _nppHandle, core.sys.windows.windef.HWND lParam) 410 411 in 412 { 413 assert(_nppHandle != core.sys.windows.windef.NULL); 414 } 415 416 do 417 { 418 core.sys.windows.winuser.SendMessageW(_nppHandle, npp_api.PowerEditor.MISC.PluginsManager.Notepad_plus_msgs.NPPM_DMMSHOW, cast(core.sys.windows.windef.WPARAM)(0), cast(core.sys.windows.windef.LPARAM)(lParam)); 419 } 420 421 /** 422 * NPPM_DMMHIDE 423 */ 424 void send_NPPM_DMMHIDE(core.sys.windows.windef.HWND _nppHandle, core.sys.windows.windef.HWND lParam) 425 426 in 427 { 428 assert(_nppHandle != core.sys.windows.windef.NULL); 429 } 430 431 do 432 { 433 core.sys.windows.winuser.SendMessageW(_nppHandle, npp_api.PowerEditor.MISC.PluginsManager.Notepad_plus_msgs.NPPM_DMMHIDE, cast(core.sys.windows.windef.WPARAM)(0), cast(core.sys.windows.windef.LPARAM)(lParam)); 434 } 435 436 /** 437 * NPPM_DMMUPDATEDISPINFO 438 */ 439 void send_NPPM_DMMUPDATEDISPINFO(core.sys.windows.windef.HWND _nppHandle, core.sys.windows.windef.HWND lParam) 440 441 in 442 { 443 assert(_nppHandle != core.sys.windows.windef.NULL); 444 } 445 446 do 447 { 448 core.sys.windows.winuser.SendMessageW(_nppHandle, npp_api.PowerEditor.MISC.PluginsManager.Notepad_plus_msgs.NPPM_DMMUPDATEDISPINFO, cast(core.sys.windows.windef.WPARAM)(0), cast(core.sys.windows.windef.LPARAM)(lParam)); 449 } 450 451 /** 452 * NPPM_DMMREGASDCKDLG 453 */ 454 void send_NPPM_DMMREGASDCKDLG(core.sys.windows.windef.HWND _nppHandle, npp_api.PowerEditor.WinControls.DockingWnd.Docking.tTbData* lParam) 455 456 in 457 { 458 assert(_nppHandle != core.sys.windows.windef.NULL); 459 } 460 461 do 462 { 463 core.sys.windows.winuser.SendMessageW(_nppHandle, npp_api.PowerEditor.MISC.PluginsManager.Notepad_plus_msgs.NPPM_DMMREGASDCKDLG, cast(core.sys.windows.windef.WPARAM)(0), cast(core.sys.windows.windef.LPARAM)(lParam)); 464 } 465 466 /** 467 * NPPM_LOADSESSION 468 */ 469 void send_NPPM_LOADSESSION(core.sys.windows.windef.HWND _nppHandle, scope const core.sys.windows.winnt.WCHAR* file_name) 470 471 in 472 { 473 assert(_nppHandle != core.sys.windows.windef.NULL); 474 assert(file_name != null); 475 } 476 477 do 478 { 479 core.sys.windows.winuser.SendMessageW(_nppHandle, npp_api.PowerEditor.MISC.PluginsManager.Notepad_plus_msgs.NPPM_LOADSESSION, cast(core.sys.windows.windef.WPARAM)(0), cast(core.sys.windows.windef.LPARAM)(file_name)); 480 } 481 482 /** 483 * NPPM_DMMVIEWOTHERTAB 484 */ 485 void send_NPPM_DMMVIEWOTHERTAB(core.sys.windows.windef.HWND _nppHandle, core.sys.windows.winnt.WCHAR* lParam) 486 487 in 488 { 489 assert(_nppHandle != core.sys.windows.windef.NULL); 490 assert(lParam != null); 491 } 492 493 do 494 { 495 core.sys.windows.winuser.SendMessageW(_nppHandle, npp_api.PowerEditor.MISC.PluginsManager.Notepad_plus_msgs.NPPM_DMMVIEWOTHERTAB, cast(core.sys.windows.windef.WPARAM)(0), cast(core.sys.windows.windef.LPARAM)(lParam)); 496 } 497 498 /** 499 * NPPM_RELOADFILE 500 */ 501 bool send_NPPM_RELOADFILE(core.sys.windows.windef.HWND _nppHandle, core.sys.windows.windef.BOOL withAlert, core.sys.windows.winnt.WCHAR* filePathName2Reload) 502 503 in 504 { 505 assert(_nppHandle != core.sys.windows.windef.NULL); 506 assert(filePathName2Reload != null); 507 } 508 509 do 510 { 511 return cast(bool)(core.sys.windows.winuser.SendMessageW(_nppHandle, npp_api.PowerEditor.MISC.PluginsManager.Notepad_plus_msgs.NPPM_RELOADFILE, cast(core.sys.windows.windef.WPARAM)(withAlert), cast(core.sys.windows.windef.LPARAM)(filePathName2Reload))); 512 } 513 514 /** 515 * NPPM_SWITCHTOFILE 516 */ 517 bool send_NPPM_SWITCHTOFILE(core.sys.windows.windef.HWND _nppHandle, core.sys.windows.winnt.WCHAR* filePathName2switch) 518 519 in 520 { 521 assert(_nppHandle != core.sys.windows.windef.NULL); 522 assert(filePathName2switch != null); 523 } 524 525 do 526 { 527 return cast(bool)(core.sys.windows.winuser.SendMessageW(_nppHandle, npp_api.PowerEditor.MISC.PluginsManager.Notepad_plus_msgs.NPPM_SWITCHTOFILE, cast(core.sys.windows.windef.WPARAM)(0), cast(core.sys.windows.windef.LPARAM)(filePathName2switch))); 528 } 529 530 /** 531 * NPPM_SAVECURRENTFILE 532 */ 533 bool send_NPPM_SAVECURRENTFILE(core.sys.windows.windef.HWND _nppHandle) 534 535 in 536 { 537 assert(_nppHandle != core.sys.windows.windef.NULL); 538 } 539 540 do 541 { 542 return cast(bool)(core.sys.windows.winuser.SendMessageW(_nppHandle, npp_api.PowerEditor.MISC.PluginsManager.Notepad_plus_msgs.NPPM_SAVECURRENTFILE, cast(core.sys.windows.windef.WPARAM)(0), cast(core.sys.windows.windef.LPARAM)(0))); 543 } 544 545 /** 546 * NPPM_SAVEALLFILES 547 */ 548 bool send_NPPM_SAVEALLFILES(core.sys.windows.windef.HWND _nppHandle) 549 550 in 551 { 552 assert(_nppHandle != core.sys.windows.windef.NULL); 553 } 554 555 do 556 { 557 return cast(bool)(core.sys.windows.winuser.SendMessageW(_nppHandle, npp_api.PowerEditor.MISC.PluginsManager.Notepad_plus_msgs.NPPM_SAVEALLFILES, cast(core.sys.windows.windef.WPARAM)(0), cast(core.sys.windows.windef.LPARAM)(0))); 558 } 559 560 /** 561 * NPPM_SETMENUITEMCHECK 562 */ 563 void send_NPPM_SETMENUITEMCHECK(core.sys.windows.windef.HWND _nppHandle, core.sys.windows.windef.UINT _cmdID, core.sys.windows.windef.BOOL check) 564 565 in 566 { 567 assert(_nppHandle != core.sys.windows.windef.NULL); 568 } 569 570 do 571 { 572 core.sys.windows.winuser.SendMessageW(_nppHandle, npp_api.PowerEditor.MISC.PluginsManager.Notepad_plus_msgs.NPPM_SETMENUITEMCHECK, cast(core.sys.windows.windef.WPARAM)(_cmdID), cast(core.sys.windows.windef.LPARAM)(check)); 573 } 574 575 /** 576 * NPPM_ADDTOOLBARICON 577 */ 578 bool send_NPPM_ADDTOOLBARICON(core.sys.windows.windef.HWND _nppHandle, core.sys.windows.windef.UINT _cmdID, npp_api.PowerEditor.MISC.PluginsManager.Notepad_plus_msgs.toolbarIcons* icon) 579 580 in 581 { 582 assert(_nppHandle != core.sys.windows.windef.NULL); 583 assert(icon != null); 584 } 585 586 do 587 { 588 return cast(bool)(core.sys.windows.winuser.SendMessageW(_nppHandle, npp_api.PowerEditor.MISC.PluginsManager.Notepad_plus_msgs.NPPM_ADDTOOLBARICON, cast(core.sys.windows.windef.WPARAM)(_cmdID), cast(core.sys.windows.windef.LPARAM)(icon))); 589 } 590 591 /** 592 * NPPM_GETWINDOWSVERSION 593 */ 594 npp_api.PowerEditor.MISC.PluginsManager.Notepad_plus_msgs.winVer send_NPPM_GETWINDOWSVERSION(core.sys.windows.windef.HWND _nppHandle) 595 596 in 597 { 598 assert(_nppHandle != core.sys.windows.windef.NULL); 599 } 600 601 do 602 { 603 return cast(npp_api.PowerEditor.MISC.PluginsManager.Notepad_plus_msgs.winVer)(core.sys.windows.winuser.SendMessageW(_nppHandle, npp_api.PowerEditor.MISC.PluginsManager.Notepad_plus_msgs.NPPM_GETWINDOWSVERSION, cast(core.sys.windows.windef.WPARAM)(0), cast(core.sys.windows.windef.LPARAM)(0))); 604 } 605 606 /** 607 * NPPM_DMMGETPLUGINHWNDBYNAME 608 */ 609 core.sys.windows.windef.HWND send_NPPM_DMMGETPLUGINHWNDBYNAME(core.sys.windows.windef.HWND _nppHandle, scope const core.sys.windows.winnt.WCHAR* windowName, scope const core.sys.windows.winnt.WCHAR* moduleName) 610 611 in 612 { 613 assert(_nppHandle != core.sys.windows.windef.NULL); 614 assert(windowName != null); 615 assert(moduleName != null); 616 } 617 618 do 619 { 620 return cast(core.sys.windows.windef.HWND)(core.sys.windows.winuser.SendMessageW(_nppHandle, npp_api.PowerEditor.MISC.PluginsManager.Notepad_plus_msgs.NPPM_DMMGETPLUGINHWNDBYNAME, cast(core.sys.windows.windef.WPARAM)(windowName), cast(core.sys.windows.windef.LPARAM)(moduleName))); 621 } 622 623 /** 624 * NPPM_MAKECURRENTBUFFERDIRTY 625 */ 626 bool send_NPPM_MAKECURRENTBUFFERDIRTY(core.sys.windows.windef.HWND _nppHandle) 627 628 in 629 { 630 assert(_nppHandle != core.sys.windows.windef.NULL); 631 } 632 633 do 634 { 635 return cast(bool)(core.sys.windows.winuser.SendMessageW(_nppHandle, npp_api.PowerEditor.MISC.PluginsManager.Notepad_plus_msgs.NPPM_MAKECURRENTBUFFERDIRTY, cast(core.sys.windows.windef.WPARAM)(0), cast(core.sys.windows.windef.LPARAM)(0))); 636 } 637 638 /** 639 * NPPM_GETENABLETHEMETEXTUREFUNC 640 */ 641 bool send_NPPM_GETENABLETHEMETEXTUREFUNC(core.sys.windows.windef.HWND _nppHandle) 642 643 in 644 { 645 assert(_nppHandle != core.sys.windows.windef.NULL); 646 } 647 648 do 649 { 650 return cast(bool)(core.sys.windows.winuser.SendMessageW(_nppHandle, npp_api.PowerEditor.MISC.PluginsManager.Notepad_plus_msgs.NPPM_GETENABLETHEMETEXTUREFUNC, cast(core.sys.windows.windef.WPARAM)(0), cast(core.sys.windows.windef.LPARAM)(0))); 651 } 652 653 /** 654 * NPPM_GETPLUGINSCONFIGDIR 655 */ 656 bool send_NPPM_GETPLUGINSCONFIGDIR(core.sys.windows.windef.HWND _nppHandle, size_t strLen, core.sys.windows.winnt.WCHAR* str) 657 658 in 659 { 660 assert(_nppHandle != core.sys.windows.windef.NULL); 661 assert(str != null); 662 } 663 664 do 665 { 666 return cast(bool)(core.sys.windows.winuser.SendMessageW(_nppHandle, npp_api.PowerEditor.MISC.PluginsManager.Notepad_plus_msgs.NPPM_GETPLUGINSCONFIGDIR, cast(core.sys.windows.windef.WPARAM)(strLen), cast(core.sys.windows.windef.LPARAM)(str))); 667 } 668 669 /** 670 * NPPM_MSGTOPLUGIN 671 */ 672 bool send_NPPM_MSGTOPLUGIN(core.sys.windows.windef.HWND _nppHandle, core.sys.windows.winnt.WCHAR* destModuleName, ref npp_api.PowerEditor.MISC.PluginsManager.Notepad_plus_msgs.CommunicationInfo info) 673 674 in 675 { 676 assert(_nppHandle != core.sys.windows.windef.NULL); 677 assert(destModuleName != null); 678 } 679 680 do 681 { 682 return cast(bool)(core.sys.windows.winuser.SendMessageW(_nppHandle, npp_api.PowerEditor.MISC.PluginsManager.Notepad_plus_msgs.NPPM_MSGTOPLUGIN, cast(core.sys.windows.windef.WPARAM)(destModuleName), cast(core.sys.windows.windef.LPARAM)(&info))); 683 } 684 685 /** 686 * NPPM_MENUCOMMAND 687 */ 688 void send_NPPM_MENUCOMMAND(core.sys.windows.windef.HWND _nppHandle, int cmdID) 689 690 in 691 { 692 assert(_nppHandle != core.sys.windows.windef.NULL); 693 } 694 695 do 696 { 697 core.sys.windows.winuser.SendMessageW(_nppHandle, npp_api.PowerEditor.MISC.PluginsManager.Notepad_plus_msgs.NPPM_MENUCOMMAND, cast(core.sys.windows.windef.WPARAM)(0), cast(core.sys.windows.windef.LPARAM)(cmdID)); 698 } 699 700 /** 701 * NPPM_TRIGGERTABBARCONTEXTMENU 702 */ 703 void send_NPPM_TRIGGERTABBARCONTEXTMENU(core.sys.windows.windef.HWND _nppHandle, int view, int index2Activate) 704 705 in 706 { 707 assert(_nppHandle != core.sys.windows.windef.NULL); 708 } 709 710 do 711 { 712 core.sys.windows.winuser.SendMessageW(_nppHandle, npp_api.PowerEditor.MISC.PluginsManager.Notepad_plus_msgs.NPPM_TRIGGERTABBARCONTEXTMENU, cast(core.sys.windows.windef.WPARAM)(view), cast(core.sys.windows.windef.LPARAM)(index2Activate)); 713 } 714 715 /** 716 * NPPM_GETNPPVERSION 717 */ 718 int send_NPPM_GETNPPVERSION(core.sys.windows.windef.HWND _nppHandle) 719 720 in 721 { 722 assert(_nppHandle != core.sys.windows.windef.NULL); 723 } 724 725 do 726 { 727 return cast(int)(core.sys.windows.winuser.SendMessageW(_nppHandle, npp_api.PowerEditor.MISC.PluginsManager.Notepad_plus_msgs.NPPM_GETNPPVERSION, cast(core.sys.windows.windef.WPARAM)(0), cast(core.sys.windows.windef.LPARAM)(0))); 728 } 729 730 /** 731 * NPPM_HIDETABBAR 732 */ 733 bool send_NPPM_HIDETABBAR(core.sys.windows.windef.HWND _nppHandle, core.sys.windows.windef.BOOL hideOrNot) 734 735 in 736 { 737 assert(_nppHandle != core.sys.windows.windef.NULL); 738 } 739 740 do 741 { 742 return cast(bool)(core.sys.windows.winuser.SendMessageW(_nppHandle, npp_api.PowerEditor.MISC.PluginsManager.Notepad_plus_msgs.NPPM_HIDETABBAR, cast(core.sys.windows.windef.WPARAM)(0), cast(core.sys.windows.windef.LPARAM)(hideOrNot))); 743 } 744 745 /** 746 * NPPM_ISTABBARHIDDEN 747 */ 748 bool send_NPPM_ISTABBARHIDDEN(core.sys.windows.windef.HWND _nppHandle) 749 750 in 751 { 752 assert(_nppHandle != core.sys.windows.windef.NULL); 753 } 754 755 do 756 { 757 return cast(bool)(core.sys.windows.winuser.SendMessageW(_nppHandle, npp_api.PowerEditor.MISC.PluginsManager.Notepad_plus_msgs.NPPM_ISTABBARHIDDEN, cast(core.sys.windows.windef.WPARAM)(0), cast(core.sys.windows.windef.LPARAM)(0))); 758 } 759 760 /** 761 * NPPM_GETPOSFROMBUFFERID 762 */ 763 int send_NPPM_GETPOSFROMBUFFERID(core.sys.windows.windef.HWND _nppHandle, core.sys.windows.basetsd.UINT_PTR bufferID, core.sys.windows.windef.INT priorityView) 764 765 in 766 { 767 assert(_nppHandle != core.sys.windows.windef.NULL); 768 } 769 770 do 771 { 772 return cast(int)(core.sys.windows.winuser.SendMessageW(_nppHandle, npp_api.PowerEditor.MISC.PluginsManager.Notepad_plus_msgs.NPPM_GETPOSFROMBUFFERID, cast(core.sys.windows.windef.WPARAM)(bufferID), cast(core.sys.windows.windef.LPARAM)(priorityView))); 773 } 774 775 /** 776 * NPPM_GETFULLPATHFROMBUFFERID 777 */ 778 int send_NPPM_GETFULLPATHFROMBUFFERID(core.sys.windows.windef.HWND _nppHandle, core.sys.windows.basetsd.UINT_PTR bufferID, core.sys.windows.winnt.WCHAR* fullFilePath) 779 780 in 781 { 782 assert(_nppHandle != core.sys.windows.windef.NULL); 783 assert(fullFilePath != null); 784 } 785 786 do 787 { 788 return cast(int)(core.sys.windows.winuser.SendMessageW(_nppHandle, npp_api.PowerEditor.MISC.PluginsManager.Notepad_plus_msgs.NPPM_GETFULLPATHFROMBUFFERID, cast(core.sys.windows.windef.WPARAM)(bufferID), cast(core.sys.windows.windef.LPARAM)(fullFilePath))); 789 } 790 791 /** 792 * NPPM_GETBUFFERIDFROMPOS 793 */ 794 core.sys.windows.windef.LRESULT send_NPPM_GETBUFFERIDFROMPOS(core.sys.windows.windef.HWND _nppHandle, core.sys.windows.windef.INT index, core.sys.windows.windef.INT iView) 795 796 in 797 { 798 assert(_nppHandle != core.sys.windows.windef.NULL); 799 } 800 801 do 802 { 803 return cast(core.sys.windows.windef.LRESULT)(core.sys.windows.winuser.SendMessageW(_nppHandle, npp_api.PowerEditor.MISC.PluginsManager.Notepad_plus_msgs.NPPM_GETBUFFERIDFROMPOS, cast(core.sys.windows.windef.WPARAM)(index), cast(core.sys.windows.windef.LPARAM)(iView))); 804 } 805 806 /** 807 * NPPM_GETCURRENTBUFFERID 808 */ 809 core.sys.windows.windef.LRESULT send_NPPM_GETCURRENTBUFFERID(core.sys.windows.windef.HWND _nppHandle) 810 811 in 812 { 813 assert(_nppHandle != core.sys.windows.windef.NULL); 814 } 815 816 do 817 { 818 return cast(core.sys.windows.windef.LRESULT)(core.sys.windows.winuser.SendMessageW(_nppHandle, npp_api.PowerEditor.MISC.PluginsManager.Notepad_plus_msgs.NPPM_GETCURRENTBUFFERID, cast(core.sys.windows.windef.WPARAM)(0), cast(core.sys.windows.windef.LPARAM)(0))); 819 } 820 821 /** 822 * NPPM_RELOADBUFFERID 823 */ 824 void send_NPPM_RELOADBUFFERID(core.sys.windows.windef.HWND _nppHandle, core.sys.windows.basetsd.UINT_PTR bufferID, core.sys.windows.windef.BOOL alert) 825 826 in 827 { 828 assert(_nppHandle != core.sys.windows.windef.NULL); 829 } 830 831 do 832 { 833 core.sys.windows.winuser.SendMessageW(_nppHandle, npp_api.PowerEditor.MISC.PluginsManager.Notepad_plus_msgs.NPPM_RELOADBUFFERID, cast(core.sys.windows.windef.WPARAM)(bufferID), cast(core.sys.windows.windef.LPARAM)(alert)); 834 } 835 836 /** 837 * NPPM_GETBUFFERLANGTYPE 838 */ 839 npp_api.PowerEditor.MISC.PluginsManager.Notepad_plus_msgs.LangType send_NPPM_GETBUFFERLANGTYPE(core.sys.windows.windef.HWND _nppHandle, core.sys.windows.basetsd.UINT_PTR bufferID) 840 841 in 842 { 843 assert(_nppHandle != core.sys.windows.windef.NULL); 844 } 845 846 do 847 { 848 int output_langType; 849 850 output_langType = cast(int)(core.sys.windows.winuser.SendMessageW(_nppHandle, npp_api.PowerEditor.MISC.PluginsManager.Notepad_plus_msgs.NPPM_GETBUFFERLANGTYPE, cast(core.sys.windows.windef.WPARAM)(bufferID), cast(core.sys.windows.windef.LPARAM)(0))); 851 852 return ((output_langType >= 0) && (cast(int)(npp_api.PowerEditor.MISC.PluginsManager.Notepad_plus_msgs.LangType.L_EXTERNAL) > output_langType)) ? (cast(npp_api.PowerEditor.MISC.PluginsManager.Notepad_plus_msgs.LangType)(output_langType)) : (npp_api.PowerEditor.MISC.PluginsManager.Notepad_plus_msgs.LangType.L_EXTERNAL); 853 } 854 855 /** 856 * NPPM_SETBUFFERLANGTYPE 857 */ 858 bool send_NPPM_SETBUFFERLANGTYPE(core.sys.windows.windef.HWND _nppHandle, core.sys.windows.basetsd.UINT_PTR bufferID, npp_api.PowerEditor.MISC.PluginsManager.Notepad_plus_msgs.LangType langType) 859 860 in 861 { 862 assert(_nppHandle != core.sys.windows.windef.NULL); 863 } 864 865 do 866 { 867 return cast(bool)(core.sys.windows.winuser.SendMessageW(_nppHandle, npp_api.PowerEditor.MISC.PluginsManager.Notepad_plus_msgs.NPPM_SETBUFFERLANGTYPE, cast(core.sys.windows.windef.WPARAM)(bufferID), cast(core.sys.windows.windef.LPARAM)(cast(int)(langType)))); 868 } 869 870 /** 871 * NPPM_GETBUFFERENCODING 872 */ 873 int send_NPPM_GETBUFFERENCODING(core.sys.windows.windef.HWND _nppHandle, core.sys.windows.basetsd.UINT_PTR bufferID) 874 875 in 876 { 877 assert(_nppHandle != core.sys.windows.windef.NULL); 878 } 879 880 do 881 { 882 return cast(int)(core.sys.windows.winuser.SendMessageW(_nppHandle, npp_api.PowerEditor.MISC.PluginsManager.Notepad_plus_msgs.NPPM_GETBUFFERENCODING, cast(core.sys.windows.windef.WPARAM)(bufferID), cast(core.sys.windows.windef.LPARAM)(0))); 883 } 884 885 /** 886 * NPPM_SETBUFFERENCODING 887 */ 888 bool send_NPPM_SETBUFFERENCODING(core.sys.windows.windef.HWND _nppHandle, core.sys.windows.basetsd.UINT_PTR bufferID, core.sys.windows.windef.INT encoding) 889 890 in 891 { 892 assert(_nppHandle != core.sys.windows.windef.NULL); 893 } 894 895 do 896 { 897 return cast(bool)(core.sys.windows.winuser.SendMessageW(_nppHandle, npp_api.PowerEditor.MISC.PluginsManager.Notepad_plus_msgs.NPPM_SETBUFFERENCODING, cast(core.sys.windows.windef.WPARAM)(bufferID), cast(core.sys.windows.windef.LPARAM)(encoding))); 898 } 899 900 /** 901 * NPPM_GETBUFFERFORMAT 902 */ 903 int send_NPPM_GETBUFFERFORMAT(core.sys.windows.windef.HWND _nppHandle, core.sys.windows.basetsd.UINT_PTR bufferID) 904 905 in 906 { 907 assert(_nppHandle != core.sys.windows.windef.NULL); 908 } 909 910 do 911 { 912 return cast(int)(core.sys.windows.winuser.SendMessageW(_nppHandle, npp_api.PowerEditor.MISC.PluginsManager.Notepad_plus_msgs.NPPM_GETBUFFERFORMAT, cast(core.sys.windows.windef.WPARAM)(bufferID), cast(core.sys.windows.windef.LPARAM)(0))); 913 } 914 915 /** 916 * NPPM_SETBUFFERFORMAT 917 */ 918 bool send_NPPM_SETBUFFERFORMAT(core.sys.windows.windef.HWND _nppHandle, core.sys.windows.basetsd.UINT_PTR bufferID, core.sys.windows.windef.INT format) 919 920 in 921 { 922 assert(_nppHandle != core.sys.windows.windef.NULL); 923 } 924 925 do 926 { 927 return cast(bool)(core.sys.windows.winuser.SendMessageW(_nppHandle, npp_api.PowerEditor.MISC.PluginsManager.Notepad_plus_msgs.NPPM_SETBUFFERFORMAT, cast(core.sys.windows.windef.WPARAM)(bufferID), cast(core.sys.windows.windef.LPARAM)(format))); 928 } 929 930 /** 931 * NPPM_HIDETOOLBAR 932 */ 933 bool send_NPPM_HIDETOOLBAR(core.sys.windows.windef.HWND _nppHandle, core.sys.windows.windef.BOOL hideOrNot) 934 935 in 936 { 937 assert(_nppHandle != core.sys.windows.windef.NULL); 938 } 939 940 do 941 { 942 return cast(bool)(core.sys.windows.winuser.SendMessageW(_nppHandle, npp_api.PowerEditor.MISC.PluginsManager.Notepad_plus_msgs.NPPM_HIDETOOLBAR, cast(core.sys.windows.windef.WPARAM)(0), cast(core.sys.windows.windef.LPARAM)(hideOrNot))); 943 } 944 945 /** 946 * NPPM_ISTOOLBARHIDDEN 947 */ 948 bool send_NPPM_ISTOOLBARHIDDEN(core.sys.windows.windef.HWND _nppHandle) 949 950 in 951 { 952 assert(_nppHandle != core.sys.windows.windef.NULL); 953 } 954 955 do 956 { 957 return cast(bool)(core.sys.windows.winuser.SendMessageW(_nppHandle, npp_api.PowerEditor.MISC.PluginsManager.Notepad_plus_msgs.NPPM_ISTOOLBARHIDDEN, cast(core.sys.windows.windef.WPARAM)(0), cast(core.sys.windows.windef.LPARAM)(0))); 958 } 959 960 /** 961 * NPPM_HIDEMENU 962 */ 963 bool send_NPPM_HIDEMENU(core.sys.windows.windef.HWND _nppHandle, core.sys.windows.windef.BOOL hideOrNot) 964 965 in 966 { 967 assert(_nppHandle != core.sys.windows.windef.NULL); 968 } 969 970 do 971 { 972 return cast(bool)(core.sys.windows.winuser.SendMessageW(_nppHandle, npp_api.PowerEditor.MISC.PluginsManager.Notepad_plus_msgs.NPPM_HIDEMENU, cast(core.sys.windows.windef.WPARAM)(0), cast(core.sys.windows.windef.LPARAM)(hideOrNot))); 973 } 974 975 /** 976 * NPPM_ISMENUHIDDEN 977 */ 978 bool send_NPPM_ISMENUHIDDEN(core.sys.windows.windef.HWND _nppHandle) 979 980 in 981 { 982 assert(_nppHandle != core.sys.windows.windef.NULL); 983 } 984 985 do 986 { 987 return cast(bool)(core.sys.windows.winuser.SendMessageW(_nppHandle, npp_api.PowerEditor.MISC.PluginsManager.Notepad_plus_msgs.NPPM_ISMENUHIDDEN, cast(core.sys.windows.windef.WPARAM)(0), cast(core.sys.windows.windef.LPARAM)(0))); 988 } 989 990 /** 991 * NPPM_HIDESTATUSBAR 992 */ 993 bool send_NPPM_HIDESTATUSBAR(core.sys.windows.windef.HWND _nppHandle) 994 995 in 996 { 997 assert(_nppHandle != core.sys.windows.windef.NULL); 998 } 999 1000 do 1001 { 1002 return cast(bool)(core.sys.windows.winuser.SendMessageW(_nppHandle, npp_api.PowerEditor.MISC.PluginsManager.Notepad_plus_msgs.NPPM_HIDESTATUSBAR, cast(core.sys.windows.windef.WPARAM)(0), cast(core.sys.windows.windef.LPARAM)(0))); 1003 } 1004 1005 /** 1006 * NPPM_ISSTATUSBARHIDDEN 1007 */ 1008 bool send_NPPM_ISSTATUSBARHIDDEN(core.sys.windows.windef.HWND _nppHandle) 1009 1010 in 1011 { 1012 assert(_nppHandle != core.sys.windows.windef.NULL); 1013 } 1014 1015 do 1016 { 1017 return cast(bool)(core.sys.windows.winuser.SendMessageW(_nppHandle, npp_api.PowerEditor.MISC.PluginsManager.Notepad_plus_msgs.NPPM_ISSTATUSBARHIDDEN, cast(core.sys.windows.windef.WPARAM)(0), cast(core.sys.windows.windef.LPARAM)(0))); 1018 } 1019 1020 /** 1021 * NPPM_GETSHORTCUTBYCMDID 1022 */ 1023 bool send_NPPM_GETSHORTCUTBYCMDID(core.sys.windows.windef.HWND _nppHandle, int cmdID, ref npp_api.PowerEditor.MISC.PluginsManager.PluginInterface.ShortcutKey sk) 1024 1025 in 1026 { 1027 assert(_nppHandle != core.sys.windows.windef.NULL); 1028 } 1029 1030 do 1031 { 1032 return cast(bool)(core.sys.windows.winuser.SendMessageW(_nppHandle, npp_api.PowerEditor.MISC.PluginsManager.Notepad_plus_msgs.NPPM_GETSHORTCUTBYCMDID, cast(core.sys.windows.windef.WPARAM)(cmdID), cast(core.sys.windows.windef.LPARAM)(&sk))); 1033 } 1034 1035 /** 1036 * NPPM_DOOPEN 1037 */ 1038 bool send_NPPM_DOOPEN(core.sys.windows.windef.HWND _nppHandle, scope const core.sys.windows.winnt.WCHAR* fullPathName2Open) 1039 1040 in 1041 { 1042 assert(_nppHandle != core.sys.windows.windef.NULL); 1043 assert(fullPathName2Open != null); 1044 } 1045 1046 do 1047 { 1048 return cast(bool)(core.sys.windows.winuser.SendMessageW(_nppHandle, npp_api.PowerEditor.MISC.PluginsManager.Notepad_plus_msgs.NPPM_DOOPEN, cast(core.sys.windows.windef.WPARAM)(0), cast(core.sys.windows.windef.LPARAM)(fullPathName2Open))); 1049 } 1050 1051 /** 1052 * NPPM_SAVECURRENTFILEAS 1053 */ 1054 bool send_NPPM_SAVECURRENTFILEAS(core.sys.windows.windef.HWND _nppHandle, core.sys.windows.windef.BOOL asCopy, scope const core.sys.windows.winnt.WCHAR* filename) 1055 1056 in 1057 { 1058 assert(_nppHandle != core.sys.windows.windef.NULL); 1059 assert(filename != null); 1060 } 1061 1062 do 1063 { 1064 return cast(bool)(core.sys.windows.winuser.SendMessageW(_nppHandle, npp_api.PowerEditor.MISC.PluginsManager.Notepad_plus_msgs.NPPM_SAVECURRENTFILEAS, cast(core.sys.windows.windef.WPARAM)(asCopy), cast(core.sys.windows.windef.LPARAM)(filename))); 1065 } 1066 1067 /** 1068 * NPPM_GETCURRENTNATIVELANGENCODING 1069 */ 1070 int send_NPPM_GETCURRENTNATIVELANGENCODING(core.sys.windows.windef.HWND _nppHandle) 1071 1072 in 1073 { 1074 assert(_nppHandle != core.sys.windows.windef.NULL); 1075 } 1076 1077 do 1078 { 1079 return cast(int)(core.sys.windows.winuser.SendMessageW(_nppHandle, npp_api.PowerEditor.MISC.PluginsManager.Notepad_plus_msgs.NPPM_GETCURRENTNATIVELANGENCODING, cast(core.sys.windows.windef.WPARAM)(0), cast(core.sys.windows.windef.LPARAM)(0))); 1080 } 1081 1082 /** 1083 * NPPM_ALLOCATESUPPORTED 1084 */ 1085 bool send_NPPM_ALLOCATESUPPORTED(core.sys.windows.windef.HWND _nppHandle) 1086 1087 in 1088 { 1089 assert(_nppHandle != core.sys.windows.windef.NULL); 1090 } 1091 1092 do 1093 { 1094 return cast(bool)(core.sys.windows.winuser.SendMessageW(_nppHandle, npp_api.PowerEditor.MISC.PluginsManager.Notepad_plus_msgs.NPPM_ALLOCATESUPPORTED, cast(core.sys.windows.windef.WPARAM)(0), cast(core.sys.windows.windef.LPARAM)(0))); 1095 } 1096 1097 /** 1098 * NPPM_ALLOCATECMDID 1099 */ 1100 bool send_NPPM_ALLOCATECMDID(core.sys.windows.windef.HWND _nppHandle, int numberRequested, ref int startNumber) 1101 1102 in 1103 { 1104 assert(_nppHandle != core.sys.windows.windef.NULL); 1105 } 1106 1107 do 1108 { 1109 return cast(bool)(core.sys.windows.winuser.SendMessageW(_nppHandle, npp_api.PowerEditor.MISC.PluginsManager.Notepad_plus_msgs.NPPM_ALLOCATECMDID, cast(core.sys.windows.windef.WPARAM)(numberRequested), cast(core.sys.windows.windef.LPARAM)(&startNumber))); 1110 } 1111 1112 /** 1113 * NPPM_ALLOCATEMARKER 1114 */ 1115 bool send_NPPM_ALLOCATEMARKER(core.sys.windows.windef.HWND _nppHandle, int numberRequested, ref int startNumber) 1116 1117 in 1118 { 1119 assert(_nppHandle != core.sys.windows.windef.NULL); 1120 } 1121 1122 do 1123 { 1124 return cast(bool)(core.sys.windows.winuser.SendMessageW(_nppHandle, npp_api.PowerEditor.MISC.PluginsManager.Notepad_plus_msgs.NPPM_ALLOCATEMARKER, cast(core.sys.windows.windef.WPARAM)(numberRequested), cast(core.sys.windows.windef.LPARAM)(&startNumber))); 1125 } 1126 1127 /** 1128 * NPPM_GETLANGUAGENAME 1129 */ 1130 int send_NPPM_GETLANGUAGENAME(core.sys.windows.windef.HWND _nppHandle, npp_api.PowerEditor.MISC.PluginsManager.Notepad_plus_msgs.LangType langType, core.sys.windows.winnt.WCHAR* langName) 1131 1132 in 1133 { 1134 assert(_nppHandle != core.sys.windows.windef.NULL); 1135 assert(langName != null); 1136 } 1137 1138 do 1139 { 1140 return cast(int)(core.sys.windows.winuser.SendMessageW(_nppHandle, npp_api.PowerEditor.MISC.PluginsManager.Notepad_plus_msgs.NPPM_GETLANGUAGENAME, cast(core.sys.windows.windef.WPARAM)(cast(int)(langType)), cast(core.sys.windows.windef.LPARAM)(langName))); 1141 } 1142 1143 /** 1144 * NPPM_GETLANGUAGEDESC 1145 */ 1146 int send_NPPM_GETLANGUAGEDESC(core.sys.windows.windef.HWND _nppHandle, npp_api.PowerEditor.MISC.PluginsManager.Notepad_plus_msgs.LangType langType, core.sys.windows.winnt.WCHAR* langDesc) 1147 1148 in 1149 { 1150 assert(_nppHandle != core.sys.windows.windef.NULL); 1151 assert(langDesc != null); 1152 } 1153 1154 do 1155 { 1156 return cast(int)(core.sys.windows.winuser.SendMessageW(_nppHandle, npp_api.PowerEditor.MISC.PluginsManager.Notepad_plus_msgs.NPPM_GETLANGUAGEDESC, cast(core.sys.windows.windef.WPARAM)(cast(int)(langType)), cast(core.sys.windows.windef.LPARAM)(langDesc))); 1157 } 1158 1159 /** 1160 * NPPM_SHOWDOCSWITCHER 1161 */ 1162 void send_NPPM_SHOWDOCSWITCHER(core.sys.windows.windef.HWND _nppHandle, core.sys.windows.windef.BOOL toShowOrNot) 1163 1164 in 1165 { 1166 assert(_nppHandle != core.sys.windows.windef.NULL); 1167 } 1168 1169 do 1170 { 1171 core.sys.windows.winuser.SendMessageW(_nppHandle, npp_api.PowerEditor.MISC.PluginsManager.Notepad_plus_msgs.NPPM_SHOWDOCSWITCHER, cast(core.sys.windows.windef.WPARAM)(0), cast(core.sys.windows.windef.LPARAM)(toShowOrNot)); 1172 } 1173 1174 /** 1175 * NPPM_ISDOCSWITCHERSHOWN 1176 */ 1177 bool send_NPPM_ISDOCSWITCHERSHOWN(core.sys.windows.windef.HWND _nppHandle) 1178 1179 in 1180 { 1181 assert(_nppHandle != core.sys.windows.windef.NULL); 1182 } 1183 1184 do 1185 { 1186 return cast(bool)(core.sys.windows.winuser.SendMessageW(_nppHandle, npp_api.PowerEditor.MISC.PluginsManager.Notepad_plus_msgs.NPPM_ISDOCSWITCHERSHOWN, cast(core.sys.windows.windef.WPARAM)(0), cast(core.sys.windows.windef.LPARAM)(0))); 1187 } 1188 1189 /** 1190 * NPPM_GETAPPDATAPLUGINSALLOWED 1191 */ 1192 bool send_NPPM_GETAPPDATAPLUGINSALLOWED(core.sys.windows.windef.HWND _nppHandle) 1193 1194 in 1195 { 1196 assert(_nppHandle != core.sys.windows.windef.NULL); 1197 } 1198 1199 do 1200 { 1201 return cast(bool)(core.sys.windows.winuser.SendMessageW(_nppHandle, npp_api.PowerEditor.MISC.PluginsManager.Notepad_plus_msgs.NPPM_GETAPPDATAPLUGINSALLOWED, cast(core.sys.windows.windef.WPARAM)(0), cast(core.sys.windows.windef.LPARAM)(0))); 1202 } 1203 1204 /** 1205 * NPPM_GETCURRENTVIEW 1206 */ 1207 int send_NPPM_GETCURRENTVIEW(core.sys.windows.windef.HWND _nppHandle) 1208 1209 in 1210 { 1211 assert(_nppHandle != core.sys.windows.windef.NULL); 1212 } 1213 1214 do 1215 { 1216 return cast(int)(core.sys.windows.winuser.SendMessageW(_nppHandle, npp_api.PowerEditor.MISC.PluginsManager.Notepad_plus_msgs.NPPM_GETCURRENTVIEW, cast(core.sys.windows.windef.WPARAM)(0), cast(core.sys.windows.windef.LPARAM)(0))); 1217 } 1218 1219 /** 1220 * NPPM_DOCSWITCHERDISABLECOLUMN 1221 */ 1222 void send_NPPM_DOCSWITCHERDISABLECOLUMN(core.sys.windows.windef.HWND _nppHandle, core.sys.windows.windef.BOOL disableOrNot) 1223 1224 in 1225 { 1226 assert(_nppHandle != core.sys.windows.windef.NULL); 1227 } 1228 1229 do 1230 { 1231 core.sys.windows.winuser.SendMessageW(_nppHandle, npp_api.PowerEditor.MISC.PluginsManager.Notepad_plus_msgs.NPPM_DOCSWITCHERDISABLECOLUMN, cast(core.sys.windows.windef.WPARAM)(0), cast(core.sys.windows.windef.LPARAM)(disableOrNot)); 1232 } 1233 1234 /** 1235 * NPPM_GETEDITORDEFAULTFOREGROUNDCOLOR 1236 */ 1237 int send_NPPM_GETEDITORDEFAULTFOREGROUNDCOLOR(core.sys.windows.windef.HWND _nppHandle) 1238 1239 in 1240 { 1241 assert(_nppHandle != core.sys.windows.windef.NULL); 1242 } 1243 1244 do 1245 { 1246 return cast(int)(core.sys.windows.winuser.SendMessageW(_nppHandle, npp_api.PowerEditor.MISC.PluginsManager.Notepad_plus_msgs.NPPM_GETEDITORDEFAULTFOREGROUNDCOLOR, cast(core.sys.windows.windef.WPARAM)(0), cast(core.sys.windows.windef.LPARAM)(0))); 1247 } 1248 1249 /** 1250 * NPPM_GETEDITORDEFAULTBACKGROUNDCOLOR 1251 */ 1252 int send_NPPM_GETEDITORDEFAULTBACKGROUNDCOLOR(core.sys.windows.windef.HWND _nppHandle) 1253 1254 in 1255 { 1256 assert(_nppHandle != core.sys.windows.windef.NULL); 1257 } 1258 1259 do 1260 { 1261 return cast(int)(core.sys.windows.winuser.SendMessageW(_nppHandle, npp_api.PowerEditor.MISC.PluginsManager.Notepad_plus_msgs.NPPM_GETEDITORDEFAULTBACKGROUNDCOLOR, cast(core.sys.windows.windef.WPARAM)(0), cast(core.sys.windows.windef.LPARAM)(0))); 1262 } 1263 1264 /** 1265 * NPPM_SETSMOOTHFONT 1266 */ 1267 int send_NPPM_SETSMOOTHFONT(core.sys.windows.windef.HWND _nppHandle) 1268 1269 in 1270 { 1271 assert(_nppHandle != core.sys.windows.windef.NULL); 1272 } 1273 1274 do 1275 { 1276 return cast(int)(core.sys.windows.winuser.SendMessageW(_nppHandle, npp_api.PowerEditor.MISC.PluginsManager.Notepad_plus_msgs.NPPM_SETSMOOTHFONT, cast(core.sys.windows.windef.WPARAM)(0), cast(core.sys.windows.windef.LPARAM)(0))); 1277 } 1278 1279 /** 1280 * NPPM_SETEDITORBORDEREDGE 1281 */ 1282 void send_NPPM_SETEDITORBORDEREDGE(core.sys.windows.windef.HWND _nppHandle, core.sys.windows.windef.BOOL withEditorBorderEdgeOrNot) 1283 1284 in 1285 { 1286 assert(_nppHandle != core.sys.windows.windef.NULL); 1287 } 1288 1289 do 1290 { 1291 core.sys.windows.winuser.SendMessageW(_nppHandle, npp_api.PowerEditor.MISC.PluginsManager.Notepad_plus_msgs.NPPM_SETEDITORBORDEREDGE, cast(core.sys.windows.windef.WPARAM)(0), cast(core.sys.windows.windef.LPARAM)(withEditorBorderEdgeOrNot)); 1292 } 1293 1294 /** 1295 * NPPM_SAVEFILE 1296 */ 1297 void send_NPPM_SAVEFILE(core.sys.windows.windef.HWND _nppHandle, scope const core.sys.windows.winnt.WCHAR* fileNameToSave) 1298 1299 in 1300 { 1301 assert(_nppHandle != core.sys.windows.windef.NULL); 1302 assert(fileNameToSave != null); 1303 } 1304 1305 do 1306 { 1307 core.sys.windows.winuser.SendMessageW(_nppHandle, npp_api.PowerEditor.MISC.PluginsManager.Notepad_plus_msgs.NPPM_SAVEFILE, cast(core.sys.windows.windef.WPARAM)(0), cast(core.sys.windows.windef.LPARAM)(fileNameToSave)); 1308 } 1309 1310 /** 1311 * NPPM_DISABLEAUTOUPDATE 1312 */ 1313 void send_NPPM_DISABLEAUTOUPDATE(core.sys.windows.windef.HWND _nppHandle) 1314 1315 in 1316 { 1317 assert(_nppHandle != core.sys.windows.windef.NULL); 1318 } 1319 1320 do 1321 { 1322 core.sys.windows.winuser.SendMessageW(_nppHandle, npp_api.PowerEditor.MISC.PluginsManager.Notepad_plus_msgs.NPPM_DISABLEAUTOUPDATE, cast(core.sys.windows.windef.WPARAM)(0), cast(core.sys.windows.windef.LPARAM)(0)); 1323 } 1324 1325 /** 1326 * NPPM_REMOVESHORTCUTBYCMDID 1327 */ 1328 core.stdc.config.c_long send_NPPM_REMOVESHORTCUTBYCMDID(core.sys.windows.windef.HWND _nppHandle, int cmdID) 1329 1330 in 1331 { 1332 assert(_nppHandle != core.sys.windows.windef.NULL); 1333 } 1334 1335 do 1336 { 1337 return cast(core.stdc.config.c_long)(core.sys.windows.winuser.SendMessageW(_nppHandle, npp_api.PowerEditor.MISC.PluginsManager.Notepad_plus_msgs.NPPM_REMOVESHORTCUTBYCMDID, cast(core.sys.windows.windef.WPARAM)(cmdID), cast(core.sys.windows.windef.LPARAM)(0))); 1338 } 1339 1340 /** 1341 * NPPM_GETPLUGINHOMEPATH 1342 */ 1343 int send_NPPM_GETPLUGINHOMEPATH(core.sys.windows.windef.HWND _nppHandle, size_t strLen, core.sys.windows.winnt.WCHAR* pluginRootPath) 1344 1345 in 1346 { 1347 assert(_nppHandle != core.sys.windows.windef.NULL); 1348 assert(pluginRootPath != null); 1349 } 1350 1351 do 1352 { 1353 return cast(int)(core.sys.windows.winuser.SendMessageW(_nppHandle, npp_api.PowerEditor.MISC.PluginsManager.Notepad_plus_msgs.NPPM_GETPLUGINHOMEPATH, cast(core.sys.windows.windef.WPARAM)(strLen), cast(core.sys.windows.windef.LPARAM)(pluginRootPath))); 1354 } 1355 1356 /** 1357 * NPPM_GETFULLCURRENTPATH 1358 */ 1359 bool send_NPPM_GETFULLCURRENTPATH(core.sys.windows.windef.HWND _nppHandle, size_t strLen, core.sys.windows.winnt.WCHAR* str) 1360 1361 in 1362 { 1363 assert(_nppHandle != core.sys.windows.windef.NULL); 1364 assert(str != null); 1365 } 1366 1367 do 1368 { 1369 return cast(bool)(core.sys.windows.winuser.SendMessageW(_nppHandle, npp_api.PowerEditor.MISC.PluginsManager.Notepad_plus_msgs.NPPM_GETFULLCURRENTPATH, cast(core.sys.windows.windef.WPARAM)(strLen), cast(core.sys.windows.windef.LPARAM)(str))); 1370 } 1371 1372 /** 1373 * NPPM_GETCURRENTDIRECTORY 1374 */ 1375 bool send_NPPM_GETCURRENTDIRECTORY(core.sys.windows.windef.HWND _nppHandle, size_t strLen, core.sys.windows.winnt.WCHAR* str) 1376 1377 in 1378 { 1379 assert(_nppHandle != core.sys.windows.windef.NULL); 1380 assert(str != null); 1381 } 1382 1383 do 1384 { 1385 return cast(bool)(core.sys.windows.winuser.SendMessageW(_nppHandle, npp_api.PowerEditor.MISC.PluginsManager.Notepad_plus_msgs.NPPM_GETCURRENTDIRECTORY, cast(core.sys.windows.windef.WPARAM)(strLen), cast(core.sys.windows.windef.LPARAM)(str))); 1386 } 1387 1388 /** 1389 * NPPM_GETFILENAME 1390 */ 1391 bool send_NPPM_GETFILENAME(core.sys.windows.windef.HWND _nppHandle, size_t strLen, core.sys.windows.winnt.WCHAR* str) 1392 1393 in 1394 { 1395 assert(_nppHandle != core.sys.windows.windef.NULL); 1396 assert(str != null); 1397 } 1398 1399 do 1400 { 1401 return cast(bool)(core.sys.windows.winuser.SendMessageW(_nppHandle, npp_api.PowerEditor.MISC.PluginsManager.Notepad_plus_msgs.NPPM_GETFILENAME, cast(core.sys.windows.windef.WPARAM)(strLen), cast(core.sys.windows.windef.LPARAM)(str))); 1402 } 1403 1404 /** 1405 * NPPM_GETNAMEPART 1406 */ 1407 bool send_NPPM_GETNAMEPART(core.sys.windows.windef.HWND _nppHandle, size_t strLen, core.sys.windows.winnt.WCHAR* str) 1408 1409 in 1410 { 1411 assert(_nppHandle != core.sys.windows.windef.NULL); 1412 assert(str != null); 1413 } 1414 1415 do 1416 { 1417 return cast(bool)(core.sys.windows.winuser.SendMessageW(_nppHandle, npp_api.PowerEditor.MISC.PluginsManager.Notepad_plus_msgs.NPPM_GETNAMEPART, cast(core.sys.windows.windef.WPARAM)(strLen), cast(core.sys.windows.windef.LPARAM)(str))); 1418 } 1419 1420 /** 1421 * NPPM_GETEXTPART 1422 */ 1423 bool send_NPPM_GETEXTPART(core.sys.windows.windef.HWND _nppHandle, size_t strLen, core.sys.windows.winnt.WCHAR* str) 1424 1425 in 1426 { 1427 assert(_nppHandle != core.sys.windows.windef.NULL); 1428 assert(str != null); 1429 } 1430 1431 do 1432 { 1433 return cast(bool)(core.sys.windows.winuser.SendMessageW(_nppHandle, npp_api.PowerEditor.MISC.PluginsManager.Notepad_plus_msgs.NPPM_GETEXTPART, cast(core.sys.windows.windef.WPARAM)(strLen), cast(core.sys.windows.windef.LPARAM)(str))); 1434 } 1435 1436 /** 1437 * NPPM_GETCURRENTWORD 1438 */ 1439 bool send_NPPM_GETCURRENTWORD(core.sys.windows.windef.HWND _nppHandle, size_t strLen, core.sys.windows.winnt.WCHAR* str) 1440 1441 in 1442 { 1443 assert(_nppHandle != core.sys.windows.windef.NULL); 1444 assert(str != null); 1445 } 1446 1447 do 1448 { 1449 return cast(bool)(core.sys.windows.winuser.SendMessageW(_nppHandle, npp_api.PowerEditor.MISC.PluginsManager.Notepad_plus_msgs.NPPM_GETCURRENTWORD, cast(core.sys.windows.windef.WPARAM)(strLen), cast(core.sys.windows.windef.LPARAM)(str))); 1450 } 1451 1452 /** 1453 * NPPM_GETNPPDIRECTORY 1454 */ 1455 bool send_NPPM_GETNPPDIRECTORY(core.sys.windows.windef.HWND _nppHandle, size_t strLen, core.sys.windows.winnt.WCHAR* str) 1456 1457 in 1458 { 1459 assert(_nppHandle != core.sys.windows.windef.NULL); 1460 assert(str != null); 1461 } 1462 1463 do 1464 { 1465 return cast(bool)(core.sys.windows.winuser.SendMessageW(_nppHandle, npp_api.PowerEditor.MISC.PluginsManager.Notepad_plus_msgs.NPPM_GETNPPDIRECTORY, cast(core.sys.windows.windef.WPARAM)(strLen), cast(core.sys.windows.windef.LPARAM)(str))); 1466 } 1467 1468 /** 1469 * NPPM_GETFILENAMEATCURSOR 1470 */ 1471 bool send_NPPM_GETFILENAMEATCURSOR(core.sys.windows.windef.HWND _nppHandle, size_t strLen, core.sys.windows.winnt.WCHAR* str) 1472 1473 in 1474 { 1475 assert(_nppHandle != core.sys.windows.windef.NULL); 1476 assert(str != null); 1477 } 1478 1479 do 1480 { 1481 return cast(bool)(core.sys.windows.winuser.SendMessageW(_nppHandle, npp_api.PowerEditor.MISC.PluginsManager.Notepad_plus_msgs.NPPM_GETFILENAMEATCURSOR, cast(core.sys.windows.windef.WPARAM)(strLen), cast(core.sys.windows.windef.LPARAM)(str))); 1482 } 1483 1484 /** 1485 * NPPM_GETCURRENTLINE 1486 */ 1487 int send_NPPM_GETCURRENTLINE(core.sys.windows.windef.HWND _nppHandle) 1488 1489 in 1490 { 1491 assert(_nppHandle != core.sys.windows.windef.NULL); 1492 } 1493 1494 do 1495 { 1496 return cast(int)(core.sys.windows.winuser.SendMessageW(_nppHandle, npp_api.PowerEditor.MISC.PluginsManager.Notepad_plus_msgs.NPPM_GETCURRENTLINE, cast(core.sys.windows.windef.WPARAM)(0), cast(core.sys.windows.windef.LPARAM)(0))); 1497 } 1498 1499 /** 1500 * NPPM_GETCURRENTCOLUMN 1501 */ 1502 int send_NPPM_GETCURRENTCOLUMN(core.sys.windows.windef.HWND _nppHandle) 1503 1504 in 1505 { 1506 assert(_nppHandle != core.sys.windows.windef.NULL); 1507 } 1508 1509 do 1510 { 1511 return cast(int)(core.sys.windows.winuser.SendMessageW(_nppHandle, npp_api.PowerEditor.MISC.PluginsManager.Notepad_plus_msgs.NPPM_GETCURRENTCOLUMN, cast(core.sys.windows.windef.WPARAM)(0), cast(core.sys.windows.windef.LPARAM)(0))); 1512 } 1513 1514 /** 1515 * NPPM_GETNPPFULLFILEPATH 1516 */ 1517 bool send_NPPM_GETNPPFULLFILEPATH(core.sys.windows.windef.HWND _nppHandle, size_t strLen, core.sys.windows.winnt.WCHAR* str) 1518 1519 in 1520 { 1521 assert(_nppHandle != core.sys.windows.windef.NULL); 1522 assert(str != null); 1523 } 1524 1525 do 1526 { 1527 return cast(bool)(core.sys.windows.winuser.SendMessageW(_nppHandle, npp_api.PowerEditor.MISC.PluginsManager.Notepad_plus_msgs.NPPM_GETNPPFULLFILEPATH, cast(core.sys.windows.windef.WPARAM)(strLen), cast(core.sys.windows.windef.LPARAM)(str))); 1528 }